cloudguard

package
v65.70.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0, UPL-1.0 Imports: 8 Imported by: 2

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func GetActionTypeEnumStringValues ¶ added in v65.17.0

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetActorTypeEnumStringValues ¶

func GetActorTypeEnumStringValues() []string

GetActorTypeEnumStringValues Enumerates the set of values in String for ActorTypeEnum

func GetAdhocQueryResultStateEnumStringValues ¶ added in v65.64.0

func GetAdhocQueryResultStateEnumStringValues() []string

GetAdhocQueryResultStateEnumStringValues Enumerates the set of values in String for AdhocQueryResultStateEnum

func GetAdhocQueryStatusEnumStringValues ¶ added in v65.64.0

func GetAdhocQueryStatusEnumStringValues() []string

GetAdhocQueryStatusEnumStringValues Enumerates the set of values in String for AdhocQueryStatusEnum

func GetClassificationStatusEnumStringValues ¶

func GetClassificationStatusEnumStringValues() []string

GetClassificationStatusEnumStringValues Enumerates the set of values in String for ClassificationStatusEnum

func GetCloudGuardStatusEnumStringValues ¶

func GetCloudGuardStatusEnumStringValues() []string

GetCloudGuardStatusEnumStringValues Enumerates the set of values in String for CloudGuardStatusEnum

func GetCompositeConditionCompositeOperatorEnumStringValues ¶

func GetCompositeConditionCompositeOperatorEnumStringValues() []string

GetCompositeConditionCompositeOperatorEnumStringValues Enumerates the set of values in String for CompositeConditionCompositeOperatorEnum

func GetConditionFilterTypeEnumStringValues ¶

func GetConditionFilterTypeEnumStringValues() []string

GetConditionFilterTypeEnumStringValues Enumerates the set of values in String for ConditionFilterTypeEnum

func GetConditionKindEnumStringValues ¶

func GetConditionKindEnumStringValues() []string

GetConditionKindEnumStringValues Enumerates the set of values in String for ConditionKindEnum

func GetConditionOperatorNameEnumStringValues ¶

func GetConditionOperatorNameEnumStringValues() []string

GetConditionOperatorNameEnumStringValues Enumerates the set of values in String for ConditionOperatorNameEnum

func GetConditionTypeEnumEnumStringValues ¶

func GetConditionTypeEnumEnumStringValues() []string

GetConditionTypeEnumEnumStringValues Enumerates the set of values in String for ConditionTypeEnumEnum

func GetConditionValueTypeEnumStringValues ¶

func GetConditionValueTypeEnumStringValues() []string

GetConditionValueTypeEnumStringValues Enumerates the set of values in String for ConditionValueTypeEnum

func GetConfidenceEnumStringValues ¶

func GetConfidenceEnumStringValues() []string

GetConfidenceEnumStringValues Enumerates the set of values in String for ConfidenceEnum

func GetConfigurationLifecycleStateEnumStringValues ¶ added in v65.64.0

func GetConfigurationLifecycleStateEnumStringValues() []string

GetConfigurationLifecycleStateEnumStringValues Enumerates the set of values in String for ConfigurationLifecycleStateEnum

func GetConfigurationListItemTypeEnumStringValues ¶

func GetConfigurationListItemTypeEnumStringValues() []string

GetConfigurationListItemTypeEnumStringValues Enumerates the set of values in String for ConfigurationListItemTypeEnum

func GetContinuousQueryStartPolicyStartPolicyTypeEnumStringValues ¶ added in v65.17.0

func GetContinuousQueryStartPolicyStartPolicyTypeEnumStringValues() []string

GetContinuousQueryStartPolicyStartPolicyTypeEnumStringValues Enumerates the set of values in String for ContinuousQueryStartPolicyStartPolicyTypeEnum

func GetCveRiskLevelEnumStringValues ¶ added in v65.64.0

func GetCveRiskLevelEnumStringValues() []string

GetCveRiskLevelEnumStringValues Enumerates the set of values in String for CveRiskLevelEnum

func GetDataMaskCategoryEnumStringValues ¶

func GetDataMaskCategoryEnumStringValues() []string

GetDataMaskCategoryEnumStringValues Enumerates the set of values in String for DataMaskCategoryEnum

func GetDataMaskRuleStatusEnumStringValues ¶

func GetDataMaskRuleStatusEnumStringValues() []string

GetDataMaskRuleStatusEnumStringValues Enumerates the set of values in String for DataMaskRuleStatusEnum

func GetDataSourceEventInfoStatusEnumStringValues ¶ added in v65.17.0

func GetDataSourceEventInfoStatusEnumStringValues() []string

GetDataSourceEventInfoStatusEnumStringValues Enumerates the set of values in String for DataSourceEventInfoStatusEnum

func GetDataSourceFeedProviderEnumStringValues ¶ added in v65.17.0

func GetDataSourceFeedProviderEnumStringValues() []string

GetDataSourceFeedProviderEnumStringValues Enumerates the set of values in String for DataSourceFeedProviderEnum

func GetDataSourceStatusEnumStringValues ¶ added in v65.17.0

func GetDataSourceStatusEnumStringValues() []string

GetDataSourceStatusEnumStringValues Enumerates the set of values in String for DataSourceStatusEnum

func GetDetectorEnumEnumStringValues ¶

func GetDetectorEnumEnumStringValues() []string

GetDetectorEnumEnumStringValues Enumerates the set of values in String for DetectorEnumEnum

func GetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues ¶

func GetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues() []string

GetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues Enumerates the set of values in String for DetectorRecipeDetectorRuleManagedListTypesEnum

func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues ¶

func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues() []string

GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues Enumerates the set of values in String for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum

func GetDetectorRecipeEnumEnumStringValues ¶ added in v65.64.0

func GetDetectorRecipeEnumEnumStringValues() []string

GetDetectorRecipeEnumEnumStringValues Enumerates the set of values in String for DetectorRecipeEnumEnum

func GetDetectorRuleManagedListTypesEnumStringValues ¶

func GetDetectorRuleManagedListTypesEnumStringValues() []string

GetDetectorRuleManagedListTypesEnumStringValues Enumerates the set of values in String for DetectorRuleManagedListTypesEnum

func GetDetectorRuleSummaryManagedListTypesEnumStringValues ¶

func GetDetectorRuleSummaryManagedListTypesEnumStringValues() []string

GetDetectorRuleSummaryManagedListTypesEnumStringValues Enumerates the set of values in String for DetectorRuleSummaryManagedListTypesEnum

func GetEntityTypeEnumStringValues ¶ added in v65.17.0

func GetEntityTypeEnumStringValues() []string

GetEntityTypeEnumStringValues Enumerates the set of values in String for EntityTypeEnum

func GetEventStatusEnumStringValues ¶

func GetEventStatusEnumStringValues() []string

GetEventStatusEnumStringValues Enumerates the set of values in String for EventStatusEnum

func GetFeedProviderTypeEnumStringValues ¶

func GetFeedProviderTypeEnumStringValues() []string

GetFeedProviderTypeEnumStringValues Enumerates the set of values in String for FeedProviderTypeEnum

func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumStringValues ¶

func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumStringValues() []string

GetGetConditionMetadataTypeConditionMetadataTypeIdEnumStringValues Enumerates the set of values in String for GetConditionMetadataTypeConditionMetadataTypeIdEnum

func GetLifecycleStateEnumStringValues ¶

func GetLifecycleStateEnumStringValues() []string

GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum

func GetListAdhocQueriesAccessLevelEnumStringValues ¶ added in v65.64.0

func GetListAdhocQueriesAccessLevelEnumStringValues() []string

GetListAdhocQueriesAccessLevelEnumStringValues Enumerates the set of values in String for ListAdhocQueriesAccessLevelEnum

func GetListAdhocQueriesAdhocQueryStatusEnumStringValues ¶ added in v65.64.0

func GetListAdhocQueriesAdhocQueryStatusEnumStringValues() []string

GetListAdhocQueriesAdhocQueryStatusEnumStringValues Enumerates the set of values in String for ListAdhocQueriesAdhocQueryStatusEnum

func GetListAdhocQueriesSortByEnumStringValues ¶ added in v65.64.0

func GetListAdhocQueriesSortByEnumStringValues() []string

GetListAdhocQueriesSortByEnumStringValues Enumerates the set of values in String for ListAdhocQueriesSortByEnum

func GetListAdhocQueriesSortOrderEnumStringValues ¶ added in v65.64.0

func GetListAdhocQueriesSortOrderEnumStringValues() []string

GetListAdhocQueriesSortOrderEnumStringValues Enumerates the set of values in String for ListAdhocQueriesSortOrderEnum

func GetListAdhocQueryResultsSortByEnumStringValues ¶ added in v65.64.0

func GetListAdhocQueryResultsSortByEnumStringValues() []string

GetListAdhocQueryResultsSortByEnumStringValues Enumerates the set of values in String for ListAdhocQueryResultsSortByEnum

func GetListAdhocQueryResultsSortOrderEnumStringValues ¶ added in v65.64.0

func GetListAdhocQueryResultsSortOrderEnumStringValues() []string

GetListAdhocQueryResultsSortOrderEnumStringValues Enumerates the set of values in String for ListAdhocQueryResultsSortOrderEnum

func GetListConditionMetadataTypesLifecycleStateEnumStringValues ¶

func GetListConditionMetadataTypesLifecycleStateEnumStringValues() []string

GetListConditionMetadataTypesLifecycleStateEnumStringValues Enumerates the set of values in String for ListConditionMetadataTypesLifecycleStateEnum

func GetListConditionMetadataTypesSortByEnumStringValues ¶

func GetListConditionMetadataTypesSortByEnumStringValues() []string

GetListConditionMetadataTypesSortByEnumStringValues Enumerates the set of values in String for ListConditionMetadataTypesSortByEnum

func GetListConditionMetadataTypesSortOrderEnumStringValues ¶

func GetListConditionMetadataTypesSortOrderEnumStringValues() []string

GetListConditionMetadataTypesSortOrderEnumStringValues Enumerates the set of values in String for ListConditionMetadataTypesSortOrderEnum

func GetListDataMaskRulesAccessLevelEnumStringValues ¶

func GetListDataMaskRulesAccessLevelEnumStringValues() []string

GetListDataMaskRulesAccessLevelEnumStringValues Enumerates the set of values in String for ListDataMaskRulesAccessLevelEnum

func GetListDataMaskRulesDataMaskRuleStatusEnumStringValues ¶

func GetListDataMaskRulesDataMaskRuleStatusEnumStringValues() []string

GetListDataMaskRulesDataMaskRuleStatusEnumStringValues Enumerates the set of values in String for ListDataMaskRulesDataMaskRuleStatusEnum

func GetListDataMaskRulesLifecycleStateEnumStringValues ¶

func GetListDataMaskRulesLifecycleStateEnumStringValues() []string

GetListDataMaskRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDataMaskRulesLifecycleStateEnum

func GetListDataMaskRulesSortByEnumStringValues ¶

func GetListDataMaskRulesSortByEnumStringValues() []string

GetListDataMaskRulesSortByEnumStringValues Enumerates the set of values in String for ListDataMaskRulesSortByEnum

func GetListDataMaskRulesSortOrderEnumStringValues ¶

func GetListDataMaskRulesSortOrderEnumStringValues() []string

GetListDataMaskRulesSortOrderEnumStringValues Enumerates the set of values in String for ListDataMaskRulesSortOrderEnum

func GetListDataSourceEventsSortByEnumStringValues ¶ added in v65.17.0

func GetListDataSourceEventsSortByEnumStringValues() []string

GetListDataSourceEventsSortByEnumStringValues Enumerates the set of values in String for ListDataSourceEventsSortByEnum

func GetListDataSourceEventsSortOrderEnumStringValues ¶ added in v65.17.0

func GetListDataSourceEventsSortOrderEnumStringValues() []string

GetListDataSourceEventsSortOrderEnumStringValues Enumerates the set of values in String for ListDataSourceEventsSortOrderEnum

func GetListDataSourcesAccessLevelEnumStringValues ¶ added in v65.17.0

func GetListDataSourcesAccessLevelEnumStringValues() []string

GetListDataSourcesAccessLevelEnumStringValues Enumerates the set of values in String for ListDataSourcesAccessLevelEnum

func GetListDataSourcesDataSourceFeedProviderEnumStringValues ¶ added in v65.17.0

func GetListDataSourcesDataSourceFeedProviderEnumStringValues() []string

GetListDataSourcesDataSourceFeedProviderEnumStringValues Enumerates the set of values in String for ListDataSourcesDataSourceFeedProviderEnum

func GetListDataSourcesLifecycleStateEnumStringValues ¶ added in v65.17.0

func GetListDataSourcesLifecycleStateEnumStringValues() []string

GetListDataSourcesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDataSourcesLifecycleStateEnum

func GetListDataSourcesLoggingQueryTypeEnumStringValues ¶ added in v65.17.0

func GetListDataSourcesLoggingQueryTypeEnumStringValues() []string

GetListDataSourcesLoggingQueryTypeEnumStringValues Enumerates the set of values in String for ListDataSourcesLoggingQueryTypeEnum

func GetListDataSourcesSortByEnumStringValues ¶ added in v65.17.0

func GetListDataSourcesSortByEnumStringValues() []string

GetListDataSourcesSortByEnumStringValues Enumerates the set of values in String for ListDataSourcesSortByEnum

func GetListDataSourcesSortOrderEnumStringValues ¶ added in v65.17.0

func GetListDataSourcesSortOrderEnumStringValues() []string

GetListDataSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListDataSourcesSortOrderEnum

func GetListDetectorRecipeDetectorRulesLifecycleStateEnumStringValues ¶

func GetListDetectorRecipeDetectorRulesLifecycleStateEnumStringValues() []string

GetListDetectorRecipeDetectorRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDetectorRecipeDetectorRulesLifecycleStateEnum

func GetListDetectorRecipeDetectorRulesSortByEnumStringValues ¶

func GetListDetectorRecipeDetectorRulesSortByEnumStringValues() []string

GetListDetectorRecipeDetectorRulesSortByEnumStringValues Enumerates the set of values in String for ListDetectorRecipeDetectorRulesSortByEnum

func GetListDetectorRecipeDetectorRulesSortOrderEnumStringValues ¶

func GetListDetectorRecipeDetectorRulesSortOrderEnumStringValues() []string

GetListDetectorRecipeDetectorRulesSortOrderEnumStringValues Enumerates the set of values in String for ListDetectorRecipeDetectorRulesSortOrderEnum

func GetListDetectorRecipesAccessLevelEnumStringValues ¶

func GetListDetectorRecipesAccessLevelEnumStringValues() []string

GetListDetectorRecipesAccessLevelEnumStringValues Enumerates the set of values in String for ListDetectorRecipesAccessLevelEnum

func GetListDetectorRecipesLifecycleStateEnumStringValues ¶

func GetListDetectorRecipesLifecycleStateEnumStringValues() []string

GetListDetectorRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDetectorRecipesLifecycleStateEnum

func GetListDetectorRecipesSortByEnumStringValues ¶

func GetListDetectorRecipesSortByEnumStringValues() []string

GetListDetectorRecipesSortByEnumStringValues Enumerates the set of values in String for ListDetectorRecipesSortByEnum

func GetListDetectorRecipesSortOrderEnumStringValues ¶

func GetListDetectorRecipesSortOrderEnumStringValues() []string

GetListDetectorRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListDetectorRecipesSortOrderEnum

func GetListDetectorRulesLifecycleStateEnumStringValues ¶

func GetListDetectorRulesLifecycleStateEnumStringValues() []string

GetListDetectorRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDetectorRulesLifecycleStateEnum

func GetListDetectorRulesSortByEnumStringValues ¶

func GetListDetectorRulesSortByEnumStringValues() []string

GetListDetectorRulesSortByEnumStringValues Enumerates the set of values in String for ListDetectorRulesSortByEnum

func GetListDetectorRulesSortOrderEnumStringValues ¶

func GetListDetectorRulesSortOrderEnumStringValues() []string

GetListDetectorRulesSortOrderEnumStringValues Enumerates the set of values in String for ListDetectorRulesSortOrderEnum

func GetListDetectorsLifecycleStateEnumStringValues ¶

func GetListDetectorsLifecycleStateEnumStringValues() []string

GetListDetectorsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDetectorsLifecycleStateEnum

func GetListDetectorsSortByEnumStringValues ¶

func GetListDetectorsSortByEnumStringValues() []string

GetListDetectorsSortByEnumStringValues Enumerates the set of values in String for ListDetectorsSortByEnum

func GetListDetectorsSortOrderEnumStringValues ¶

func GetListDetectorsSortOrderEnumStringValues() []string

GetListDetectorsSortOrderEnumStringValues Enumerates the set of values in String for ListDetectorsSortOrderEnum

func GetListImpactedResourcesSortByEnumStringValues ¶

func GetListImpactedResourcesSortByEnumStringValues() []string

GetListImpactedResourcesSortByEnumStringValues Enumerates the set of values in String for ListImpactedResourcesSortByEnum

func GetListImpactedResourcesSortOrderEnumStringValues ¶

func GetListImpactedResourcesSortOrderEnumStringValues() []string

GetListImpactedResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListImpactedResourcesSortOrderEnum

func GetListManagedListTypesLifecycleStateEnumStringValues ¶

func GetListManagedListTypesLifecycleStateEnumStringValues() []string

GetListManagedListTypesLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagedListTypesLifecycleStateEnum

func GetListManagedListTypesSortByEnumStringValues ¶

func GetListManagedListTypesSortByEnumStringValues() []string

GetListManagedListTypesSortByEnumStringValues Enumerates the set of values in String for ListManagedListTypesSortByEnum

func GetListManagedListTypesSortOrderEnumStringValues ¶

func GetListManagedListTypesSortOrderEnumStringValues() []string

GetListManagedListTypesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedListTypesSortOrderEnum

func GetListManagedListsAccessLevelEnumStringValues ¶

func GetListManagedListsAccessLevelEnumStringValues() []string

GetListManagedListsAccessLevelEnumStringValues Enumerates the set of values in String for ListManagedListsAccessLevelEnum

func GetListManagedListsLifecycleStateEnumStringValues ¶

func GetListManagedListsLifecycleStateEnumStringValues() []string

GetListManagedListsLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagedListsLifecycleStateEnum

func GetListManagedListsListTypeEnumStringValues ¶

func GetListManagedListsListTypeEnumStringValues() []string

GetListManagedListsListTypeEnumStringValues Enumerates the set of values in String for ListManagedListsListTypeEnum

func GetListManagedListsSortByEnumStringValues ¶

func GetListManagedListsSortByEnumStringValues() []string

GetListManagedListsSortByEnumStringValues Enumerates the set of values in String for ListManagedListsSortByEnum

func GetListManagedListsSortOrderEnumStringValues ¶

func GetListManagedListsSortOrderEnumStringValues() []string

GetListManagedListsSortOrderEnumStringValues Enumerates the set of values in String for ListManagedListsSortOrderEnum

func GetListPoliciesSortByEnumStringValues ¶

func GetListPoliciesSortByEnumStringValues() []string

GetListPoliciesSortByEnumStringValues Enumerates the set of values in String for ListPoliciesSortByEnum

func GetListPoliciesSortOrderEnumStringValues ¶

func GetListPoliciesSortOrderEnumStringValues() []string

GetListPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListPoliciesSortOrderEnum

func GetListProblemEndpointsSortByEnumStringValues ¶

func GetListProblemEndpointsSortByEnumStringValues() []string

GetListProblemEndpointsSortByEnumStringValues Enumerates the set of values in String for ListProblemEndpointsSortByEnum

func GetListProblemEndpointsSortOrderEnumStringValues ¶

func GetListProblemEndpointsSortOrderEnumStringValues() []string

GetListProblemEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListProblemEndpointsSortOrderEnum

func GetListProblemEntitiesSortByEnumStringValues ¶ added in v65.17.0

func GetListProblemEntitiesSortByEnumStringValues() []string

GetListProblemEntitiesSortByEnumStringValues Enumerates the set of values in String for ListProblemEntitiesSortByEnum

func GetListProblemEntitiesSortOrderEnumStringValues ¶ added in v65.17.0

func GetListProblemEntitiesSortOrderEnumStringValues() []string

GetListProblemEntitiesSortOrderEnumStringValues Enumerates the set of values in String for ListProblemEntitiesSortOrderEnum

func GetListProblemHistoriesSortByEnumStringValues ¶

func GetListProblemHistoriesSortByEnumStringValues() []string

GetListProblemHistoriesSortByEnumStringValues Enumerates the set of values in String for ListProblemHistoriesSortByEnum

func GetListProblemHistoriesSortOrderEnumStringValues ¶

func GetListProblemHistoriesSortOrderEnumStringValues() []string

GetListProblemHistoriesSortOrderEnumStringValues Enumerates the set of values in String for ListProblemHistoriesSortOrderEnum

func GetListProblemsAccessLevelEnumStringValues ¶

func GetListProblemsAccessLevelEnumStringValues() []string

GetListProblemsAccessLevelEnumStringValues Enumerates the set of values in String for ListProblemsAccessLevelEnum

func GetListProblemsDetectorTypeEnumStringValues ¶

func GetListProblemsDetectorTypeEnumStringValues() []string

GetListProblemsDetectorTypeEnumStringValues Enumerates the set of values in String for ListProblemsDetectorTypeEnum

func GetListProblemsLifecycleDetailEnumStringValues ¶

func GetListProblemsLifecycleDetailEnumStringValues() []string

GetListProblemsLifecycleDetailEnumStringValues Enumerates the set of values in String for ListProblemsLifecycleDetailEnum

func GetListProblemsLifecycleStateEnumStringValues ¶

func GetListProblemsLifecycleStateEnumStringValues() []string

GetListProblemsLifecycleStateEnumStringValues Enumerates the set of values in String for ListProblemsLifecycleStateEnum

func GetListProblemsProblemCategoryEnumStringValues ¶ added in v65.3.0

func GetListProblemsProblemCategoryEnumStringValues() []string

GetListProblemsProblemCategoryEnumStringValues Enumerates the set of values in String for ListProblemsProblemCategoryEnum

func GetListProblemsSortByEnumStringValues ¶

func GetListProblemsSortByEnumStringValues() []string

GetListProblemsSortByEnumStringValues Enumerates the set of values in String for ListProblemsSortByEnum

func GetListProblemsSortOrderEnumStringValues ¶

func GetListProblemsSortOrderEnumStringValues() []string

GetListProblemsSortOrderEnumStringValues Enumerates the set of values in String for ListProblemsSortOrderEnum

func GetListRecommendationsAccessLevelEnumStringValues ¶

func GetListRecommendationsAccessLevelEnumStringValues() []string

GetListRecommendationsAccessLevelEnumStringValues Enumerates the set of values in String for ListRecommendationsAccessLevelEnum

func GetListRecommendationsLifecycleDetailEnumStringValues ¶

func GetListRecommendationsLifecycleDetailEnumStringValues() []string

GetListRecommendationsLifecycleDetailEnumStringValues Enumerates the set of values in String for ListRecommendationsLifecycleDetailEnum

func GetListRecommendationsLifecycleStateEnumStringValues ¶

func GetListRecommendationsLifecycleStateEnumStringValues() []string

GetListRecommendationsLifecycleStateEnumStringValues Enumerates the set of values in String for ListRecommendationsLifecycleStateEnum

func GetListRecommendationsSortByEnumStringValues ¶

func GetListRecommendationsSortByEnumStringValues() []string

GetListRecommendationsSortByEnumStringValues Enumerates the set of values in String for ListRecommendationsSortByEnum

func GetListRecommendationsSortOrderEnumStringValues ¶

func GetListRecommendationsSortOrderEnumStringValues() []string

GetListRecommendationsSortOrderEnumStringValues Enumerates the set of values in String for ListRecommendationsSortOrderEnum

func GetListResourcePortsSortByEnumStringValues ¶ added in v65.64.0

func GetListResourcePortsSortByEnumStringValues() []string

GetListResourcePortsSortByEnumStringValues Enumerates the set of values in String for ListResourcePortsSortByEnum

func GetListResourcePortsSortOrderEnumStringValues ¶ added in v65.64.0

func GetListResourcePortsSortOrderEnumStringValues() []string

GetListResourcePortsSortOrderEnumStringValues Enumerates the set of values in String for ListResourcePortsSortOrderEnum

func GetListResourceProfileEndpointsSortByEnumStringValues ¶

func GetListResourceProfileEndpointsSortByEnumStringValues() []string

GetListResourceProfileEndpointsSortByEnumStringValues Enumerates the set of values in String for ListResourceProfileEndpointsSortByEnum

func GetListResourceProfileEndpointsSortOrderEnumStringValues ¶

func GetListResourceProfileEndpointsSortOrderEnumStringValues() []string

GetListResourceProfileEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListResourceProfileEndpointsSortOrderEnum

func GetListResourceProfileImpactedResourcesSortByEnumStringValues ¶

func GetListResourceProfileImpactedResourcesSortByEnumStringValues() []string

GetListResourceProfileImpactedResourcesSortByEnumStringValues Enumerates the set of values in String for ListResourceProfileImpactedResourcesSortByEnum

func GetListResourceProfileImpactedResourcesSortOrderEnumStringValues ¶

func GetListResourceProfileImpactedResourcesSortOrderEnumStringValues() []string

GetListResourceProfileImpactedResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceProfileImpactedResourcesSortOrderEnum

func GetListResourceProfilesAccessLevelEnumStringValues ¶

func GetListResourceProfilesAccessLevelEnumStringValues() []string

GetListResourceProfilesAccessLevelEnumStringValues Enumerates the set of values in String for ListResourceProfilesAccessLevelEnum

func GetListResourceProfilesSortByEnumStringValues ¶

func GetListResourceProfilesSortByEnumStringValues() []string

GetListResourceProfilesSortByEnumStringValues Enumerates the set of values in String for ListResourceProfilesSortByEnum

func GetListResourceProfilesSortOrderEnumStringValues ¶

func GetListResourceProfilesSortOrderEnumStringValues() []string

GetListResourceProfilesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceProfilesSortOrderEnum

func GetListResourceTypesDetectorIdEnumStringValues ¶

func GetListResourceTypesDetectorIdEnumStringValues() []string

GetListResourceTypesDetectorIdEnumStringValues Enumerates the set of values in String for ListResourceTypesDetectorIdEnum

func GetListResourceTypesLifecycleStateEnumStringValues ¶

func GetListResourceTypesLifecycleStateEnumStringValues() []string

GetListResourceTypesLifecycleStateEnumStringValues Enumerates the set of values in String for ListResourceTypesLifecycleStateEnum

func GetListResourceTypesSortByEnumStringValues ¶

func GetListResourceTypesSortByEnumStringValues() []string

GetListResourceTypesSortByEnumStringValues Enumerates the set of values in String for ListResourceTypesSortByEnum

func GetListResourceTypesSortOrderEnumStringValues ¶

func GetListResourceTypesSortOrderEnumStringValues() []string

GetListResourceTypesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceTypesSortOrderEnum

func GetListResourceVulnerabilitiesSortByEnumStringValues ¶ added in v65.64.0

func GetListResourceVulnerabilitiesSortByEnumStringValues() []string

GetListResourceVulnerabilitiesSortByEnumStringValues Enumerates the set of values in String for ListResourceVulnerabilitiesSortByEnum

func GetListResourceVulnerabilitiesSortOrderEnumStringValues ¶ added in v65.64.0

func GetListResourceVulnerabilitiesSortOrderEnumStringValues() []string

GetListResourceVulnerabilitiesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceVulnerabilitiesSortOrderEnum

func GetListResourcesAccessLevelEnumStringValues ¶ added in v65.64.0

func GetListResourcesAccessLevelEnumStringValues() []string

GetListResourcesAccessLevelEnumStringValues Enumerates the set of values in String for ListResourcesAccessLevelEnum

func GetListResourcesDetectorTypeEnumStringValues ¶ added in v65.64.0

func GetListResourcesDetectorTypeEnumStringValues() []string

GetListResourcesDetectorTypeEnumStringValues Enumerates the set of values in String for ListResourcesDetectorTypeEnum

func GetListResourcesSortByEnumStringValues ¶ added in v65.64.0

func GetListResourcesSortByEnumStringValues() []string

GetListResourcesSortByEnumStringValues Enumerates the set of values in String for ListResourcesSortByEnum

func GetListResourcesSortOrderEnumStringValues ¶ added in v65.64.0

func GetListResourcesSortOrderEnumStringValues() []string

GetListResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListResourcesSortOrderEnum

func GetListResponderActivitiesSortByEnumStringValues ¶

func GetListResponderActivitiesSortByEnumStringValues() []string

GetListResponderActivitiesSortByEnumStringValues Enumerates the set of values in String for ListResponderActivitiesSortByEnum

func GetListResponderActivitiesSortOrderEnumStringValues ¶

func GetListResponderActivitiesSortOrderEnumStringValues() []string

GetListResponderActivitiesSortOrderEnumStringValues Enumerates the set of values in String for ListResponderActivitiesSortOrderEnum

func GetListResponderExecutionsAccessLevelEnumStringValues ¶

func GetListResponderExecutionsAccessLevelEnumStringValues() []string

GetListResponderExecutionsAccessLevelEnumStringValues Enumerates the set of values in String for ListResponderExecutionsAccessLevelEnum

func GetListResponderExecutionsResponderExecutionModeEnumStringValues ¶

func GetListResponderExecutionsResponderExecutionModeEnumStringValues() []string

GetListResponderExecutionsResponderExecutionModeEnumStringValues Enumerates the set of values in String for ListResponderExecutionsResponderExecutionModeEnum

func GetListResponderExecutionsResponderExecutionStatusEnumStringValues ¶

func GetListResponderExecutionsResponderExecutionStatusEnumStringValues() []string

GetListResponderExecutionsResponderExecutionStatusEnumStringValues Enumerates the set of values in String for ListResponderExecutionsResponderExecutionStatusEnum

func GetListResponderExecutionsResponderTypeEnumStringValues ¶

func GetListResponderExecutionsResponderTypeEnumStringValues() []string

GetListResponderExecutionsResponderTypeEnumStringValues Enumerates the set of values in String for ListResponderExecutionsResponderTypeEnum

func GetListResponderExecutionsSortByEnumStringValues ¶

func GetListResponderExecutionsSortByEnumStringValues() []string

GetListResponderExecutionsSortByEnumStringValues Enumerates the set of values in String for ListResponderExecutionsSortByEnum

func GetListResponderExecutionsSortOrderEnumStringValues ¶

func GetListResponderExecutionsSortOrderEnumStringValues() []string

GetListResponderExecutionsSortOrderEnumStringValues Enumerates the set of values in String for ListResponderExecutionsSortOrderEnum

func GetListResponderRecipeResponderRulesLifecycleStateEnumStringValues ¶

func GetListResponderRecipeResponderRulesLifecycleStateEnumStringValues() []string

GetListResponderRecipeResponderRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListResponderRecipeResponderRulesLifecycleStateEnum

func GetListResponderRecipeResponderRulesSortByEnumStringValues ¶

func GetListResponderRecipeResponderRulesSortByEnumStringValues() []string

GetListResponderRecipeResponderRulesSortByEnumStringValues Enumerates the set of values in String for ListResponderRecipeResponderRulesSortByEnum

func GetListResponderRecipeResponderRulesSortOrderEnumStringValues ¶

func GetListResponderRecipeResponderRulesSortOrderEnumStringValues() []string

GetListResponderRecipeResponderRulesSortOrderEnumStringValues Enumerates the set of values in String for ListResponderRecipeResponderRulesSortOrderEnum

func GetListResponderRecipesAccessLevelEnumStringValues ¶

func GetListResponderRecipesAccessLevelEnumStringValues() []string

GetListResponderRecipesAccessLevelEnumStringValues Enumerates the set of values in String for ListResponderRecipesAccessLevelEnum

func GetListResponderRecipesLifecycleStateEnumStringValues ¶

func GetListResponderRecipesLifecycleStateEnumStringValues() []string

GetListResponderRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListResponderRecipesLifecycleStateEnum

func GetListResponderRecipesSortByEnumStringValues ¶

func GetListResponderRecipesSortByEnumStringValues() []string

GetListResponderRecipesSortByEnumStringValues Enumerates the set of values in String for ListResponderRecipesSortByEnum

func GetListResponderRecipesSortOrderEnumStringValues ¶

func GetListResponderRecipesSortOrderEnumStringValues() []string

GetListResponderRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListResponderRecipesSortOrderEnum

func GetListResponderRulesLifecycleStateEnumStringValues ¶

func GetListResponderRulesLifecycleStateEnumStringValues() []string

GetListResponderRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListResponderRulesLifecycleStateEnum

func GetListResponderRulesSortByEnumStringValues ¶

func GetListResponderRulesSortByEnumStringValues() []string

GetListResponderRulesSortByEnumStringValues Enumerates the set of values in String for ListResponderRulesSortByEnum

func GetListResponderRulesSortOrderEnumStringValues ¶

func GetListResponderRulesSortOrderEnumStringValues() []string

GetListResponderRulesSortOrderEnumStringValues Enumerates the set of values in String for ListResponderRulesSortOrderEnum

func GetListSavedQueriesAccessLevelEnumStringValues ¶ added in v65.64.0

func GetListSavedQueriesAccessLevelEnumStringValues() []string

GetListSavedQueriesAccessLevelEnumStringValues Enumerates the set of values in String for ListSavedQueriesAccessLevelEnum

func GetListSavedQueriesSortByEnumStringValues ¶ added in v65.64.0

func GetListSavedQueriesSortByEnumStringValues() []string

GetListSavedQueriesSortByEnumStringValues Enumerates the set of values in String for ListSavedQueriesSortByEnum

func GetListSavedQueriesSortOrderEnumStringValues ¶ added in v65.64.0

func GetListSavedQueriesSortOrderEnumStringValues() []string

GetListSavedQueriesSortOrderEnumStringValues Enumerates the set of values in String for ListSavedQueriesSortOrderEnum

func GetListSecurityPoliciesLifecycleStateEnumStringValues ¶ added in v65.3.0

func GetListSecurityPoliciesLifecycleStateEnumStringValues() []string

GetListSecurityPoliciesLifecycleStateEnumStringValues Enumerates the set of values in String for ListSecurityPoliciesLifecycleStateEnum

func GetListSecurityPoliciesSortByEnumStringValues ¶ added in v65.3.0

func GetListSecurityPoliciesSortByEnumStringValues() []string

GetListSecurityPoliciesSortByEnumStringValues Enumerates the set of values in String for ListSecurityPoliciesSortByEnum

func GetListSecurityPoliciesSortOrderEnumStringValues ¶ added in v65.3.0

func GetListSecurityPoliciesSortOrderEnumStringValues() []string

GetListSecurityPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListSecurityPoliciesSortOrderEnum

func GetListSecurityRecipesLifecycleStateEnumStringValues ¶ added in v65.3.0

func GetListSecurityRecipesLifecycleStateEnumStringValues() []string

GetListSecurityRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListSecurityRecipesLifecycleStateEnum

func GetListSecurityRecipesSortByEnumStringValues ¶ added in v65.3.0

func GetListSecurityRecipesSortByEnumStringValues() []string

GetListSecurityRecipesSortByEnumStringValues Enumerates the set of values in String for ListSecurityRecipesSortByEnum

func GetListSecurityRecipesSortOrderEnumStringValues ¶ added in v65.3.0

func GetListSecurityRecipesSortOrderEnumStringValues() []string

GetListSecurityRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListSecurityRecipesSortOrderEnum

func GetListSecurityZonesLifecycleStateEnumStringValues ¶ added in v65.3.0

func GetListSecurityZonesLifecycleStateEnumStringValues() []string

GetListSecurityZonesLifecycleStateEnumStringValues Enumerates the set of values in String for ListSecurityZonesLifecycleStateEnum

func GetListSecurityZonesSortByEnumStringValues ¶ added in v65.3.0

func GetListSecurityZonesSortByEnumStringValues() []string

GetListSecurityZonesSortByEnumStringValues Enumerates the set of values in String for ListSecurityZonesSortByEnum

func GetListSecurityZonesSortOrderEnumStringValues ¶ added in v65.3.0

func GetListSecurityZonesSortOrderEnumStringValues() []string

GetListSecurityZonesSortOrderEnumStringValues Enumerates the set of values in String for ListSecurityZonesSortOrderEnum

func GetListSightingEndpointsSortByEnumStringValues ¶

func GetListSightingEndpointsSortByEnumStringValues() []string

GetListSightingEndpointsSortByEnumStringValues Enumerates the set of values in String for ListSightingEndpointsSortByEnum

func GetListSightingEndpointsSortOrderEnumStringValues ¶

func GetListSightingEndpointsSortOrderEnumStringValues() []string

GetListSightingEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListSightingEndpointsSortOrderEnum

func GetListSightingImpactedResourcesSortByEnumStringValues ¶

func GetListSightingImpactedResourcesSortByEnumStringValues() []string

GetListSightingImpactedResourcesSortByEnumStringValues Enumerates the set of values in String for ListSightingImpactedResourcesSortByEnum

func GetListSightingImpactedResourcesSortOrderEnumStringValues ¶

func GetListSightingImpactedResourcesSortOrderEnumStringValues() []string

GetListSightingImpactedResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListSightingImpactedResourcesSortOrderEnum

func GetListSightingsAccessLevelEnumStringValues ¶

func GetListSightingsAccessLevelEnumStringValues() []string

GetListSightingsAccessLevelEnumStringValues Enumerates the set of values in String for ListSightingsAccessLevelEnum

func GetListSightingsSortByEnumStringValues ¶

func GetListSightingsSortByEnumStringValues() []string

GetListSightingsSortByEnumStringValues Enumerates the set of values in String for ListSightingsSortByEnum

func GetListSightingsSortOrderEnumStringValues ¶

func GetListSightingsSortOrderEnumStringValues() []string

GetListSightingsSortOrderEnumStringValues Enumerates the set of values in String for ListSightingsSortOrderEnum

func GetListTacticsLifecycleStateEnumStringValues ¶

func GetListTacticsLifecycleStateEnumStringValues() []string

GetListTacticsLifecycleStateEnumStringValues Enumerates the set of values in String for ListTacticsLifecycleStateEnum

func GetListTacticsSortByEnumStringValues ¶

func GetListTacticsSortByEnumStringValues() []string

GetListTacticsSortByEnumStringValues Enumerates the set of values in String for ListTacticsSortByEnum

func GetListTacticsSortOrderEnumStringValues ¶

func GetListTacticsSortOrderEnumStringValues() []string

GetListTacticsSortOrderEnumStringValues Enumerates the set of values in String for ListTacticsSortOrderEnum

func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumStringValues ¶

func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumStringValues() []string

GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum

func GetListTargetDetectorRecipeDetectorRulesSortByEnumStringValues ¶

func GetListTargetDetectorRecipeDetectorRulesSortByEnumStringValues() []string

GetListTargetDetectorRecipeDetectorRulesSortByEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipeDetectorRulesSortByEnum

func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumStringValues ¶

func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumStringValues() []string

GetListTargetDetectorRecipeDetectorRulesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipeDetectorRulesSortOrderEnum

func GetListTargetDetectorRecipesLifecycleStateEnumStringValues ¶

func GetListTargetDetectorRecipesLifecycleStateEnumStringValues() []string

GetListTargetDetectorRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipesLifecycleStateEnum

func GetListTargetDetectorRecipesSortByEnumStringValues ¶

func GetListTargetDetectorRecipesSortByEnumStringValues() []string

GetListTargetDetectorRecipesSortByEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipesSortByEnum

func GetListTargetDetectorRecipesSortOrderEnumStringValues ¶

func GetListTargetDetectorRecipesSortOrderEnumStringValues() []string

GetListTargetDetectorRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipesSortOrderEnum

func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumStringValues ¶

func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumStringValues() []string

GetListTargetResponderRecipeResponderRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipeResponderRulesLifecycleStateEnum

func GetListTargetResponderRecipeResponderRulesSortByEnumStringValues ¶

func GetListTargetResponderRecipeResponderRulesSortByEnumStringValues() []string

GetListTargetResponderRecipeResponderRulesSortByEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipeResponderRulesSortByEnum

func GetListTargetResponderRecipeResponderRulesSortOrderEnumStringValues ¶

func GetListTargetResponderRecipeResponderRulesSortOrderEnumStringValues() []string

GetListTargetResponderRecipeResponderRulesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipeResponderRulesSortOrderEnum

func GetListTargetResponderRecipesLifecycleStateEnumStringValues ¶

func GetListTargetResponderRecipesLifecycleStateEnumStringValues() []string

GetListTargetResponderRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipesLifecycleStateEnum

func GetListTargetResponderRecipesSortByEnumStringValues ¶

func GetListTargetResponderRecipesSortByEnumStringValues() []string

GetListTargetResponderRecipesSortByEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipesSortByEnum

func GetListTargetResponderRecipesSortOrderEnumStringValues ¶

func GetListTargetResponderRecipesSortOrderEnumStringValues() []string

GetListTargetResponderRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipesSortOrderEnum

func GetListTargetsAccessLevelEnumStringValues ¶

func GetListTargetsAccessLevelEnumStringValues() []string

GetListTargetsAccessLevelEnumStringValues Enumerates the set of values in String for ListTargetsAccessLevelEnum

func GetListTargetsLifecycleStateEnumStringValues ¶

func GetListTargetsLifecycleStateEnumStringValues() []string

GetListTargetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetsLifecycleStateEnum

func GetListTargetsSortByEnumStringValues ¶

func GetListTargetsSortByEnumStringValues() []string

GetListTargetsSortByEnumStringValues Enumerates the set of values in String for ListTargetsSortByEnum

func GetListTargetsSortOrderEnumStringValues ¶

func GetListTargetsSortOrderEnumStringValues() []string

GetListTargetsSortOrderEnumStringValues Enumerates the set of values in String for ListTargetsSortOrderEnum

func GetListTechniquesLifecycleStateEnumStringValues ¶

func GetListTechniquesLifecycleStateEnumStringValues() []string

GetListTechniquesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTechniquesLifecycleStateEnum

func GetListTechniquesSortByEnumStringValues ¶

func GetListTechniquesSortByEnumStringValues() []string

GetListTechniquesSortByEnumStringValues Enumerates the set of values in String for ListTechniquesSortByEnum

func GetListTechniquesSortOrderEnumStringValues ¶

func GetListTechniquesSortOrderEnumStringValues() []string

GetListTechniquesSortOrderEnumStringValues Enumerates the set of values in String for ListTechniquesSortOrderEnum

func GetListWlpAgentsSortByEnumStringValues ¶ added in v65.64.0

func GetListWlpAgentsSortByEnumStringValues() []string

GetListWlpAgentsSortByEnumStringValues Enumerates the set of values in String for ListWlpAgentsSortByEnum

func GetListWlpAgentsSortOrderEnumStringValues ¶ added in v65.64.0

func GetListWlpAgentsSortOrderEnumStringValues() []string

GetListWlpAgentsSortOrderEnumStringValues Enumerates the set of values in String for ListWlpAgentsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetLoggingQueryOperatorTypeEnumStringValues ¶ added in v65.17.0

func GetLoggingQueryOperatorTypeEnumStringValues() []string

GetLoggingQueryOperatorTypeEnumStringValues Enumerates the set of values in String for LoggingQueryOperatorTypeEnum

func GetLoggingQueryTypeEnumStringValues ¶ added in v65.17.0

func GetLoggingQueryTypeEnumStringValues() []string

GetLoggingQueryTypeEnumStringValues Enumerates the set of values in String for LoggingQueryTypeEnum

func GetManagedListTypeEnumStringValues ¶

func GetManagedListTypeEnumStringValues() []string

GetManagedListTypeEnumStringValues Enumerates the set of values in String for ManagedListTypeEnum

func GetMonitoringServiceEnumStringValues ¶ added in v65.64.0

func GetMonitoringServiceEnumStringValues() []string

GetMonitoringServiceEnumStringValues Enumerates the set of values in String for MonitoringServiceEnum

func GetOperationStatusEnumStringValues ¶ added in v65.17.0

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues ¶ added in v65.17.0

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetOperatorTypeEnumStringValues ¶

func GetOperatorTypeEnumStringValues() []string

GetOperatorTypeEnumStringValues Enumerates the set of values in String for OperatorTypeEnum

func GetOwnerTypeEnumStringValues ¶

func GetOwnerTypeEnumStringValues() []string

GetOwnerTypeEnumStringValues Enumerates the set of values in String for OwnerTypeEnum

func GetProblemCategoryEnumEnumStringValues ¶ added in v65.3.0

func GetProblemCategoryEnumEnumStringValues() []string

GetProblemCategoryEnumEnumStringValues Enumerates the set of values in String for ProblemCategoryEnumEnum

func GetProblemDimensionEnumStringValues ¶

func GetProblemDimensionEnumStringValues() []string

GetProblemDimensionEnumStringValues Enumerates the set of values in String for ProblemDimensionEnum

func GetProblemLifecycleDetailEnumStringValues ¶

func GetProblemLifecycleDetailEnumStringValues() []string

GetProblemLifecycleDetailEnumStringValues Enumerates the set of values in String for ProblemLifecycleDetailEnum

func GetProblemLifecycleStateEnumStringValues ¶

func GetProblemLifecycleStateEnumStringValues() []string

GetProblemLifecycleStateEnumStringValues Enumerates the set of values in String for ProblemLifecycleStateEnum

func GetQueryReplicationStatusEnumStringValues ¶ added in v65.17.0

func GetQueryReplicationStatusEnumStringValues() []string

GetQueryReplicationStatusEnumStringValues Enumerates the set of values in String for QueryReplicationStatusEnum

func GetRecommendationLifecycleDetailEnumStringValues ¶

func GetRecommendationLifecycleDetailEnumStringValues() []string

GetRecommendationLifecycleDetailEnumStringValues Enumerates the set of values in String for RecommendationLifecycleDetailEnum

func GetRecommendationTypeEnumStringValues ¶

func GetRecommendationTypeEnumStringValues() []string

GetRecommendationTypeEnumStringValues Enumerates the set of values in String for RecommendationTypeEnum

func GetRequestSummarizedActivityProblemsAccessLevelEnumStringValues ¶

func GetRequestSummarizedActivityProblemsAccessLevelEnumStringValues() []string

GetRequestSummarizedActivityProblemsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedActivityProblemsAccessLevelEnum

func GetRequestSummarizedProblemsAccessLevelEnumStringValues ¶

func GetRequestSummarizedProblemsAccessLevelEnumStringValues() []string

GetRequestSummarizedProblemsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedProblemsAccessLevelEnum

func GetRequestSummarizedResponderExecutionsAccessLevelEnumStringValues ¶

func GetRequestSummarizedResponderExecutionsAccessLevelEnumStringValues() []string

GetRequestSummarizedResponderExecutionsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedResponderExecutionsAccessLevelEnum

func GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumStringValues ¶

func GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumStringValues() []string

GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum

func GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumStringValues ¶

func GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumStringValues() []string

GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumStringValues Enumerates the set of values in String for RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum

func GetRequestSummarizedTrendProblemsAccessLevelEnumStringValues ¶

func GetRequestSummarizedTrendProblemsAccessLevelEnumStringValues() []string

GetRequestSummarizedTrendProblemsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedTrendProblemsAccessLevelEnum

func GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumStringValues ¶

func GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumStringValues() []string

GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedTrendResourceRiskScoresAccessLevelEnum

func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumStringValues ¶

func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumStringValues() []string

GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedTrendResponderExecutionsAccessLevelEnum

func GetResourceLockTypeEnumStringValues ¶ added in v65.64.0

func GetResourceLockTypeEnumStringValues() []string

GetResourceLockTypeEnumStringValues Enumerates the set of values in String for ResourceLockTypeEnum

func GetResourceRiskScoreDimensionEnumStringValues ¶

func GetResourceRiskScoreDimensionEnumStringValues() []string

GetResourceRiskScoreDimensionEnumStringValues Enumerates the set of values in String for ResourceRiskScoreDimensionEnum

func GetResponderActivityTypeEnumStringValues ¶

func GetResponderActivityTypeEnumStringValues() []string

GetResponderActivityTypeEnumStringValues Enumerates the set of values in String for ResponderActivityTypeEnum

func GetResponderDimensionEnumStringValues ¶

func GetResponderDimensionEnumStringValues() []string

GetResponderDimensionEnumStringValues Enumerates the set of values in String for ResponderDimensionEnum

func GetResponderExecutionModesEnumStringValues ¶

func GetResponderExecutionModesEnumStringValues() []string

GetResponderExecutionModesEnumStringValues Enumerates the set of values in String for ResponderExecutionModesEnum

func GetResponderExecutionStatesEnumStringValues ¶

func GetResponderExecutionStatesEnumStringValues() []string

GetResponderExecutionStatesEnumStringValues Enumerates the set of values in String for ResponderExecutionStatesEnum

func GetResponderExecutionStatusEnumStringValues ¶

func GetResponderExecutionStatusEnumStringValues() []string

GetResponderExecutionStatusEnumStringValues Enumerates the set of values in String for ResponderExecutionStatusEnum

func GetResponderModeTypesEnumStringValues ¶

func GetResponderModeTypesEnumStringValues() []string

GetResponderModeTypesEnumStringValues Enumerates the set of values in String for ResponderModeTypesEnum

func GetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues ¶

func GetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues() []string

GetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues Enumerates the set of values in String for ResponderRecipeResponderRuleSummarySupportedModesEnum

func GetResponderRecipeResponderRuleSupportedModesEnumStringValues ¶

func GetResponderRecipeResponderRuleSupportedModesEnumStringValues() []string

GetResponderRecipeResponderRuleSupportedModesEnumStringValues Enumerates the set of values in String for ResponderRecipeResponderRuleSupportedModesEnum

func GetResponderRuleSummarySupportedModesEnumStringValues ¶

func GetResponderRuleSummarySupportedModesEnumStringValues() []string

GetResponderRuleSummarySupportedModesEnumStringValues Enumerates the set of values in String for ResponderRuleSummarySupportedModesEnum

func GetResponderRuleSupportedModesEnumStringValues ¶

func GetResponderRuleSupportedModesEnumStringValues() []string

GetResponderRuleSupportedModesEnumStringValues Enumerates the set of values in String for ResponderRuleSupportedModesEnum

func GetResponderTypeEnumStringValues ¶

func GetResponderTypeEnumStringValues() []string

GetResponderTypeEnumStringValues Enumerates the set of values in String for ResponderTypeEnum

func GetRiskLevelEnumStringValues ¶

func GetRiskLevelEnumStringValues() []string

GetRiskLevelEnumStringValues Enumerates the set of values in String for RiskLevelEnum

func GetSecurityRatingEnumStringValues ¶

func GetSecurityRatingEnumStringValues() []string

GetSecurityRatingEnumStringValues Enumerates the set of values in String for SecurityRatingEnum

func GetSeverityEnumStringValues ¶

func GetSeverityEnumStringValues() []string

GetSeverityEnumStringValues Enumerates the set of values in String for SeverityEnum

func GetSortOrdersEnumStringValues ¶

func GetSortOrdersEnumStringValues() []string

GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum

func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues ¶

func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues() []string

GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues Enumerates the set of values in String for TargetDetectorRecipeDetectorRuleManagedListTypesEnum

func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues ¶

func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues() []string

GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues Enumerates the set of values in String for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum

func GetTargetResourceTypeEnumStringValues ¶

func GetTargetResourceTypeEnumStringValues() []string

GetTargetResourceTypeEnumStringValues Enumerates the set of values in String for TargetResourceTypeEnum

func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues ¶

func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues() []string

GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues Enumerates the set of values in String for TargetResponderRecipeResponderRuleSummarySupportedModesEnum

func GetTargetResponderRecipeResponderRuleSupportedModesEnumStringValues ¶

func GetTargetResponderRecipeResponderRuleSupportedModesEnumStringValues() []string

GetTargetResponderRecipeResponderRuleSupportedModesEnumStringValues Enumerates the set of values in String for TargetResponderRecipeResponderRuleSupportedModesEnum

func GetTargetSelectedKindEnumStringValues ¶

func GetTargetSelectedKindEnumStringValues() []string

GetTargetSelectedKindEnumStringValues Enumerates the set of values in String for TargetSelectedKindEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues ¶ added in v65.17.0

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

Types ¶

type AbsoluteTimeStartPolicy ¶ added in v65.17.0

type AbsoluteTimeStartPolicy struct {

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

AbsoluteTimeStartPolicy Start policy that defines the exact start time

func (AbsoluteTimeStartPolicy) MarshalJSON ¶ added in v65.17.0

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

MarshalJSON marshals to json representation

func (AbsoluteTimeStartPolicy) String ¶ added in v65.17.0

func (m AbsoluteTimeStartPolicy) String() string

func (AbsoluteTimeStartPolicy) ValidateEnumValue ¶ added in v65.17.0

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

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

type ActionTypeEnum ¶ added in v65.17.0

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues ¶ added in v65.17.0

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum ¶ added in v65.17.0

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type ActivityProblemAggregation ¶

type ActivityProblemAggregation struct {

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

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

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

	// The number of occurrences with given dimensions
	Count *int `mandatory:"true" json:"count"`
}

ActivityProblemAggregation Provides the parameters and their corresponding count.

func (ActivityProblemAggregation) String ¶

func (ActivityProblemAggregation) ValidateEnumValue ¶

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

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

type ActivityProblemAggregationCollection ¶

type ActivityProblemAggregationCollection struct {

	// List of all the ActivityProblemAggregation resources
	Items []ActivityProblemAggregation `mandatory:"true" json:"items"`
}

ActivityProblemAggregationCollection A collection of ProblemAggregation resources for problem analytics.

func (ActivityProblemAggregationCollection) String ¶

func (ActivityProblemAggregationCollection) ValidateEnumValue ¶

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

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

type ActorTypeEnum ¶

type ActorTypeEnum string

ActorTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ActorTypeEnum

func GetActorTypeEnumValues ¶

func GetActorTypeEnumValues() []ActorTypeEnum

GetActorTypeEnumValues Enumerates the set of values for ActorTypeEnum

func GetMappingActorTypeEnum ¶

func GetMappingActorTypeEnum(val string) (ActorTypeEnum, bool)

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

type AddCompartmentDetails ¶ added in v65.3.0

type AddCompartmentDetails struct {

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

AddCompartmentDetails Parameter for an existing compartment to be added to a security zone.

func (AddCompartmentDetails) String ¶ added in v65.3.0

func (m AddCompartmentDetails) String() string

func (AddCompartmentDetails) ValidateEnumValue ¶ added in v65.3.0

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

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

type AddCompartmentRequest ¶ added in v65.3.0

type AddCompartmentRequest struct {

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

	// Parameters for an existing compartment to be added to a security zone
	AddCompartmentDetails `contributesTo:"body"`

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

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

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

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

AddCompartmentRequest wrapper for the AddCompartment operation

See also ¶

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

func (AddCompartmentRequest) BinaryRequestBody ¶ added in v65.3.0

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

BinaryRequestBody implements the OCIRequest interface

func (AddCompartmentRequest) HTTPRequest ¶ added in v65.3.0

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

HTTPRequest implements the OCIRequest interface

func (AddCompartmentRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (AddCompartmentRequest) String ¶ added in v65.3.0

func (request AddCompartmentRequest) String() string

func (AddCompartmentRequest) ValidateEnumValue ¶ added in v65.3.0

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

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

type AddCompartmentResponse ¶ added in v65.3.0

type AddCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

AddCompartmentResponse wrapper for the AddCompartment operation

func (AddCompartmentResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (AddCompartmentResponse) String ¶ added in v65.3.0

func (response AddCompartmentResponse) String() string

type AdhocQuery ¶ added in v65.64.0

type AdhocQuery struct {

	// OCID for the adhoc query
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID of the adhoc query
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Status of the adhoc query
	Status AdhocQueryStatusEnum `mandatory:"true" json:"status"`

	AdhocQueryDetails *AdhocQueryDetails `mandatory:"true" json:"adhocQueryDetails"`

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

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

	// Instance level status for each region
	AdhocQueryRegionalDetails []AdhocQueryRegionalDetails `mandatory:"false" json:"adhocQueryRegionalDetails"`

	// Error message to show on UI in case of failure
	ErrorMessage *string `mandatory:"false" json:"errorMessage"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`

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

AdhocQuery Details of a adhoc query.

func (AdhocQuery) String ¶ added in v65.64.0

func (m AdhocQuery) String() string

func (AdhocQuery) ValidateEnumValue ¶ added in v65.64.0

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

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

type AdhocQueryCollection ¶ added in v65.64.0

type AdhocQueryCollection struct {

	// List of AdhocQuery resources
	Items []AdhocQuerySummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

AdhocQueryCollection Collection of AdhocQuery resources.

func (AdhocQueryCollection) String ¶ added in v65.64.0

func (m AdhocQueryCollection) String() string

func (AdhocQueryCollection) ValidateEnumValue ¶ added in v65.64.0

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

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

type AdhocQueryDetails ¶ added in v65.64.0

type AdhocQueryDetails struct {

	// The adhoc query expression that is run
	Query *string `mandatory:"true" json:"query"`

	// Target information in which adhoc query will be run
	AdhocQueryResources []AdhocQueryResource `mandatory:"true" json:"adhocQueryResources"`
}

AdhocQueryDetails Detailed information about the adhoc query.

func (AdhocQueryDetails) String ¶ added in v65.64.0

func (m AdhocQueryDetails) String() string

func (AdhocQueryDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type AdhocQueryRegionalDetails ¶ added in v65.64.0

type AdhocQueryRegionalDetails struct {

	// Region name
	Region *string `mandatory:"true" json:"region"`

	// adhoc query status of the region
	RegionalStatus AdhocQueryStatusEnum `mandatory:"false" json:"regionalStatus,omitempty"`

	// error message to show if adhoc query fails in a region
	RegionalError *string `mandatory:"false" json:"regionalError"`

	// Expected number of instances on which query should run
	ExpectedCount *string `mandatory:"false" json:"expectedCount"`

	// Number of instances on which query failed
	FailedCount *string `mandatory:"false" json:"failedCount"`

	// Number of instances on which query succeeded
	SucceededCount *string `mandatory:"false" json:"succeededCount"`

	// Number of instances on which query expired
	ExpiredCount *string `mandatory:"false" json:"expiredCount"`
}

AdhocQueryRegionalDetails Instance level status for each region.

func (AdhocQueryRegionalDetails) String ¶ added in v65.64.0

func (m AdhocQueryRegionalDetails) String() string

func (AdhocQueryRegionalDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type AdhocQueryResource ¶ added in v65.64.0

type AdhocQueryResource struct {

	// Region in which adhoc query needs to be run
	Region *string `mandatory:"false" json:"region"`

	// List of OCIDs on which query needs to be run
	ResourceIds []string `mandatory:"false" json:"resourceIds"`

	// Type of resource
	ResourceType *string `mandatory:"false" json:"resourceType"`
}

AdhocQueryResource Details about the adhoc resources for which query needs to be run.

func (AdhocQueryResource) String ¶ added in v65.64.0

func (m AdhocQueryResource) String() string

func (AdhocQueryResource) ValidateEnumValue ¶ added in v65.64.0

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

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

type AdhocQueryResultCollection ¶ added in v65.64.0

type AdhocQueryResultCollection struct {

	// List of adhoc query results
	Items []AdhocQueryResultSummary `mandatory:"true" json:"items"`
}

AdhocQueryResultCollection Aggregated results for an adhoc query request

func (AdhocQueryResultCollection) String ¶ added in v65.64.0

func (AdhocQueryResultCollection) ValidateEnumValue ¶ added in v65.64.0

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

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

type AdhocQueryResultStateEnum ¶ added in v65.64.0

type AdhocQueryResultStateEnum string

AdhocQueryResultStateEnum Enum with underlying type: string

const (
	AdhocQueryResultStateAccepted           AdhocQueryResultStateEnum = "ACCEPTED"
	AdhocQueryResultStateCreated            AdhocQueryResultStateEnum = "CREATED"
	AdhocQueryResultStateInProgress         AdhocQueryResultStateEnum = "IN_PROGRESS"
	AdhocQueryResultStateCompleted          AdhocQueryResultStateEnum = "COMPLETED"
	AdhocQueryResultStatePartiallyCompleted AdhocQueryResultStateEnum = "PARTIALLY_COMPLETED"
	AdhocQueryResultStateFailed             AdhocQueryResultStateEnum = "FAILED"
	AdhocQueryResultStateExpired            AdhocQueryResultStateEnum = "EXPIRED"
)

Set of constants representing the allowable values for AdhocQueryResultStateEnum

func GetAdhocQueryResultStateEnumValues ¶ added in v65.64.0

func GetAdhocQueryResultStateEnumValues() []AdhocQueryResultStateEnum

GetAdhocQueryResultStateEnumValues Enumerates the set of values for AdhocQueryResultStateEnum

func GetMappingAdhocQueryResultStateEnum ¶ added in v65.64.0

func GetMappingAdhocQueryResultStateEnum(val string) (AdhocQueryResultStateEnum, bool)

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

type AdhocQueryResultSummary ¶ added in v65.64.0

type AdhocQueryResultSummary struct {

	// Resource this result belongs to
	HostId *string `mandatory:"true" json:"hostId"`

	// Status of the query
	State AdhocQueryResultStateEnum `mandatory:"true" json:"state"`

	// The region this adhoc work request is running in, needed for tracking when work request is synced to reporting region
	Region *string `mandatory:"true" json:"region"`

	// The time the adhoc result was submitted. An RFC3339 formatted datetime string
	TimeSubmitted *common.SDKTime `mandatory:"false" json:"timeSubmitted"`

	// Optional error message
	ErrorMessage *string `mandatory:"false" json:"errorMessage"`

	// Number of records returned for the query results on this host
	ResultCount *int64 `mandatory:"false" json:"resultCount"`

	// Result of the adhoc query this result resource is associated with
	Result []map[string]string `mandatory:"false" json:"result"`

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

AdhocQueryResultSummary Adhoc query result resource from running on a resource.

func (AdhocQueryResultSummary) String ¶ added in v65.64.0

func (m AdhocQueryResultSummary) String() string

func (AdhocQueryResultSummary) ValidateEnumValue ¶ added in v65.64.0

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

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

type AdhocQueryStatusEnum ¶ added in v65.64.0

type AdhocQueryStatusEnum string

AdhocQueryStatusEnum Enum with underlying type: string

const (
	AdhocQueryStatusCreating           AdhocQueryStatusEnum = "CREATING"
	AdhocQueryStatusCreated            AdhocQueryStatusEnum = "CREATED"
	AdhocQueryStatusInProgress         AdhocQueryStatusEnum = "IN_PROGRESS"
	AdhocQueryStatusPartiallyCompleted AdhocQueryStatusEnum = "PARTIALLY_COMPLETED"
	AdhocQueryStatusExpired            AdhocQueryStatusEnum = "EXPIRED"
	AdhocQueryStatusCompleted          AdhocQueryStatusEnum = "COMPLETED"
	AdhocQueryStatusFailed             AdhocQueryStatusEnum = "FAILED"
)

Set of constants representing the allowable values for AdhocQueryStatusEnum

func GetAdhocQueryStatusEnumValues ¶ added in v65.64.0

func GetAdhocQueryStatusEnumValues() []AdhocQueryStatusEnum

GetAdhocQueryStatusEnumValues Enumerates the set of values for AdhocQueryStatusEnum

func GetMappingAdhocQueryStatusEnum ¶ added in v65.64.0

func GetMappingAdhocQueryStatusEnum(val string) (AdhocQueryStatusEnum, bool)

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

type AdhocQuerySummary ¶ added in v65.64.0

type AdhocQuerySummary struct {

	// OCID for adhoc query
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID of the adhoc query
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Status of the adhoc query
	Status AdhocQueryStatusEnum `mandatory:"true" json:"status"`

	AdhocQueryDetails *AdhocQueryDetails `mandatory:"true" json:"adhocQueryDetails"`

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

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

	// List of instance level status values for each region
	AdhocQueryRegionalDetails []AdhocQueryRegionalDetails `mandatory:"false" json:"adhocQueryRegionalDetails"`

	// Error message to show on UI in case of failure
	ErrorMessage *string `mandatory:"false" json:"errorMessage"`

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

AdhocQuerySummary Summary information for a adhoc query.

func (AdhocQuerySummary) String ¶ added in v65.64.0

func (m AdhocQuerySummary) String() string

func (AdhocQuerySummary) ValidateEnumValue ¶ added in v65.64.0

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

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

type AllTargetsSelected ¶

type AllTargetsSelected struct {
}

AllTargetsSelected Parameter to use when all targets are selected.

func (AllTargetsSelected) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (AllTargetsSelected) String ¶

func (m AllTargetsSelected) String() string

func (AllTargetsSelected) ValidateEnumValue ¶

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

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

type AttachTargetDetectorRecipeDetails ¶

type AttachTargetDetectorRecipeDetails struct {

	// Detector recipe unique identifier
	DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"`
}

AttachTargetDetectorRecipeDetails Identifier for an existing detector recipe to use to create a new detector recipe (TargetDetectorRecipe resource) to be attached to a target.

func (AttachTargetDetectorRecipeDetails) String ¶

func (AttachTargetDetectorRecipeDetails) ValidateEnumValue ¶

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

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

type AttachTargetResponderRecipeDetails ¶

type AttachTargetResponderRecipeDetails struct {

	// Unique identifier for existing responder recipe
	ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"`
}

AttachTargetResponderRecipeDetails Identifier for an existing detector recipe to use to create a new detector recipe (TargetDetectorRecipe resource) to be attached to a target.

func (AttachTargetResponderRecipeDetails) String ¶

func (AttachTargetResponderRecipeDetails) ValidateEnumValue ¶

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

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

type CancelWorkRequestRequest ¶ added in v65.17.0

type CancelWorkRequestRequest struct {

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

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

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

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

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

See also ¶

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

func (CancelWorkRequestRequest) BinaryRequestBody ¶ added in v65.17.0

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

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest ¶ added in v65.17.0

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

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy ¶ added in v65.17.0

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

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

func (CancelWorkRequestRequest) String ¶ added in v65.17.0

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue ¶ added in v65.17.0

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

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

type CancelWorkRequestResponse ¶ added in v65.17.0

type CancelWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

func (CancelWorkRequestResponse) HTTPResponse ¶ added in v65.17.0

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String ¶ added in v65.17.0

func (response CancelWorkRequestResponse) String() string

type CandidateResponderRule ¶

type CandidateResponderRule struct {

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

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

	// Is this the preferred state?
	IsPreferred *bool `mandatory:"false" json:"isPreferred"`
}

CandidateResponderRule Information for a responder rule that can be used to remediate a problem triggered by specific detector rule.

func (CandidateResponderRule) String ¶

func (m CandidateResponderRule) String() string

func (CandidateResponderRule) ValidateEnumValue ¶

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

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

type ChangeDataSourceCompartmentDetails ¶ added in v65.17.0

type ChangeDataSourceCompartmentDetails struct {

	// The OCID of the compartment into which the data source is to be moved
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeDataSourceCompartmentDetails The compartmentId for the compartment into which the data source is to be moved.

func (ChangeDataSourceCompartmentDetails) String ¶ added in v65.17.0

func (ChangeDataSourceCompartmentDetails) ValidateEnumValue ¶ added in v65.17.0

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

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

type ChangeDataSourceCompartmentRequest ¶ added in v65.17.0

type ChangeDataSourceCompartmentRequest struct {

	// Data source OCID.
	DataSourceId *string `mandatory:"true" contributesTo:"path" name:"dataSourceId"`

	// The compartment OCID of the DataSource resource
	ChangeDataSourceCompartmentDetails `contributesTo:"body"`

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

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

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

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

ChangeDataSourceCompartmentRequest wrapper for the ChangeDataSourceCompartment operation

See also ¶

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

func (ChangeDataSourceCompartmentRequest) BinaryRequestBody ¶ added in v65.17.0

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeDataSourceCompartmentRequest) HTTPRequest ¶ added in v65.17.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeDataSourceCompartmentRequest) RetryPolicy ¶ added in v65.17.0

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

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

func (ChangeDataSourceCompartmentRequest) String ¶ added in v65.17.0

func (request ChangeDataSourceCompartmentRequest) String() string

func (ChangeDataSourceCompartmentRequest) ValidateEnumValue ¶ added in v65.17.0

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

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

type ChangeDataSourceCompartmentResponse ¶ added in v65.17.0

type ChangeDataSourceCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

ChangeDataSourceCompartmentResponse wrapper for the ChangeDataSourceCompartment operation

func (ChangeDataSourceCompartmentResponse) HTTPResponse ¶ added in v65.17.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeDataSourceCompartmentResponse) String ¶ added in v65.17.0

func (response ChangeDataSourceCompartmentResponse) String() string

type ChangeDetectorRecipeCompartmentDetails ¶

type ChangeDetectorRecipeCompartmentDetails struct {

	// The OCID of the compartment into which the detector recipe is to be moved
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeDetectorRecipeCompartmentDetails Parameters to use to move a detector recipe to a different compartment.

func (ChangeDetectorRecipeCompartmentDetails) String ¶

func (ChangeDetectorRecipeCompartmentDetails) ValidateEnumValue ¶

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

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

type ChangeDetectorRecipeCompartmentRequest ¶

type ChangeDetectorRecipeCompartmentRequest struct {

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

	// The target compartment OCID
	ChangeDetectorRecipeCompartmentDetails `contributesTo:"body"`

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

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

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

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

ChangeDetectorRecipeCompartmentRequest wrapper for the ChangeDetectorRecipeCompartment operation

See also ¶

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

func (ChangeDetectorRecipeCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeDetectorRecipeCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeDetectorRecipeCompartmentRequest) RetryPolicy ¶

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

func (ChangeDetectorRecipeCompartmentRequest) String ¶

func (ChangeDetectorRecipeCompartmentRequest) ValidateEnumValue ¶

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

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

type ChangeDetectorRecipeCompartmentResponse ¶

type ChangeDetectorRecipeCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeDetectorRecipeCompartmentResponse wrapper for the ChangeDetectorRecipeCompartment operation

func (ChangeDetectorRecipeCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeDetectorRecipeCompartmentResponse) String ¶

type ChangeManagedListCompartmentDetails ¶

type ChangeManagedListCompartmentDetails struct {

	// The OCID of the compartment into which the managed list is to be moved
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeManagedListCompartmentDetails Parameters to use to move a managed list to a different compartment.

func (ChangeManagedListCompartmentDetails) String ¶

func (ChangeManagedListCompartmentDetails) ValidateEnumValue ¶

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

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

type ChangeManagedListCompartmentRequest ¶

type ChangeManagedListCompartmentRequest struct {

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

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

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

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

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

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

ChangeManagedListCompartmentRequest wrapper for the ChangeManagedListCompartment operation

See also ¶

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

func (ChangeManagedListCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeManagedListCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeManagedListCompartmentRequest) RetryPolicy ¶

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

func (ChangeManagedListCompartmentRequest) String ¶

func (ChangeManagedListCompartmentRequest) ValidateEnumValue ¶

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

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

type ChangeManagedListCompartmentResponse ¶

type ChangeManagedListCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeManagedListCompartmentResponse wrapper for the ChangeManagedListCompartment operation

func (ChangeManagedListCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeManagedListCompartmentResponse) String ¶

func (response ChangeManagedListCompartmentResponse) String() string

type ChangeResponderRecipeCompartmentDetails ¶

type ChangeResponderRecipeCompartmentDetails struct {

	// The OCID of the compartment into which the responder recipe is to be moved
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeResponderRecipeCompartmentDetails Parameters to use to move a responder recipe to a different compartment.

func (ChangeResponderRecipeCompartmentDetails) String ¶

func (ChangeResponderRecipeCompartmentDetails) ValidateEnumValue ¶

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

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

type ChangeResponderRecipeCompartmentRequest ¶

type ChangeResponderRecipeCompartmentRequest struct {

	// OCID of the responder recipe.
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The target compartment OCID
	ChangeResponderRecipeCompartmentDetails `contributesTo:"body"`

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

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

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

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

ChangeResponderRecipeCompartmentRequest wrapper for the ChangeResponderRecipeCompartment operation

See also ¶

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

func (ChangeResponderRecipeCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeResponderRecipeCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeResponderRecipeCompartmentRequest) RetryPolicy ¶

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

func (ChangeResponderRecipeCompartmentRequest) String ¶

func (ChangeResponderRecipeCompartmentRequest) ValidateEnumValue ¶

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

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

type ChangeResponderRecipeCompartmentResponse ¶

type ChangeResponderRecipeCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeResponderRecipeCompartmentResponse wrapper for the ChangeResponderRecipeCompartment operation

func (ChangeResponderRecipeCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeResponderRecipeCompartmentResponse) String ¶

type ChangeSavedQueryCompartmentDetails ¶ added in v65.64.0

type ChangeSavedQueryCompartmentDetails struct {

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

ChangeSavedQueryCompartmentDetails Changing compartment OCID for saved query.

func (ChangeSavedQueryCompartmentDetails) String ¶ added in v65.64.0

func (ChangeSavedQueryCompartmentDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeSavedQueryCompartmentRequest ¶ added in v65.64.0

type ChangeSavedQueryCompartmentRequest struct {

	// Saved query OCID
	SavedQueryId *string `mandatory:"true" contributesTo:"path" name:"savedQueryId"`

	// The compartment OCID of the SavedQuery resource
	ChangeSavedQueryCompartmentDetails `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
}

ChangeSavedQueryCompartmentRequest wrapper for the ChangeSavedQueryCompartment operation

See also ¶

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

func (ChangeSavedQueryCompartmentRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeSavedQueryCompartmentRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeSavedQueryCompartmentRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (ChangeSavedQueryCompartmentRequest) String ¶ added in v65.64.0

func (request ChangeSavedQueryCompartmentRequest) String() string

func (ChangeSavedQueryCompartmentRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeSavedQueryCompartmentResponse ¶ added in v65.64.0

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

ChangeSavedQueryCompartmentResponse wrapper for the ChangeSavedQueryCompartment operation

func (ChangeSavedQueryCompartmentResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeSavedQueryCompartmentResponse) String ¶ added in v65.64.0

func (response ChangeSavedQueryCompartmentResponse) String() string

type ChangeSecurityPolicyCompartmentDetails ¶ added in v65.3.0

type ChangeSecurityPolicyCompartmentDetails struct {

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

ChangeSecurityPolicyCompartmentDetails Parameters to be used to move a security policy to a different compartment.

func (ChangeSecurityPolicyCompartmentDetails) String ¶ added in v65.3.0

func (ChangeSecurityPolicyCompartmentDetails) ValidateEnumValue ¶ added in v65.3.0

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

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

type ChangeSecurityRecipeCompartmentDetails ¶ added in v65.3.0

type ChangeSecurityRecipeCompartmentDetails struct {

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

ChangeSecurityRecipeCompartmentDetails Parameters to be used to move a security recipe to a different compartment.

func (ChangeSecurityRecipeCompartmentDetails) String ¶ added in v65.3.0

func (ChangeSecurityRecipeCompartmentDetails) ValidateEnumValue ¶ added in v65.3.0

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

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

type ChangeSecurityRecipeCompartmentRequest ¶ added in v65.3.0

type ChangeSecurityRecipeCompartmentRequest struct {

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

	// The compartment to which you want to move the `SecurityRecipe` resource
	ChangeSecurityRecipeCompartmentDetails `contributesTo:"body"`

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

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

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

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

ChangeSecurityRecipeCompartmentRequest wrapper for the ChangeSecurityRecipeCompartment operation

See also ¶

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

func (ChangeSecurityRecipeCompartmentRequest) BinaryRequestBody ¶ added in v65.3.0

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeSecurityRecipeCompartmentRequest) HTTPRequest ¶ added in v65.3.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeSecurityRecipeCompartmentRequest) RetryPolicy ¶ added in v65.3.0

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

func (ChangeSecurityRecipeCompartmentRequest) String ¶ added in v65.3.0

func (ChangeSecurityRecipeCompartmentRequest) ValidateEnumValue ¶ added in v65.3.0

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

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

type ChangeSecurityRecipeCompartmentResponse ¶ added in v65.3.0

type ChangeSecurityRecipeCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeSecurityRecipeCompartmentResponse wrapper for the ChangeSecurityRecipeCompartment operation

func (ChangeSecurityRecipeCompartmentResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeSecurityRecipeCompartmentResponse) String ¶ added in v65.3.0

type ChangeSecurityZoneCompartmentDetails ¶ added in v65.3.0

type ChangeSecurityZoneCompartmentDetails struct {

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

ChangeSecurityZoneCompartmentDetails Parameters to be used to move a security zone to a different compartment.

func (ChangeSecurityZoneCompartmentDetails) String ¶ added in v65.3.0

func (ChangeSecurityZoneCompartmentDetails) ValidateEnumValue ¶ added in v65.3.0

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

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

type ChangeSecurityZoneCompartmentRequest ¶ added in v65.3.0

type ChangeSecurityZoneCompartmentRequest struct {

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

	// The compartment to which you want to move the security zone
	ChangeSecurityZoneCompartmentDetails `contributesTo:"body"`

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

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

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

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

ChangeSecurityZoneCompartmentRequest wrapper for the ChangeSecurityZoneCompartment operation

See also ¶

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

func (ChangeSecurityZoneCompartmentRequest) BinaryRequestBody ¶ added in v65.3.0

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeSecurityZoneCompartmentRequest) HTTPRequest ¶ added in v65.3.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeSecurityZoneCompartmentRequest) RetryPolicy ¶ added in v65.3.0

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

func (ChangeSecurityZoneCompartmentRequest) String ¶ added in v65.3.0

func (ChangeSecurityZoneCompartmentRequest) ValidateEnumValue ¶ added in v65.3.0

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

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

type ChangeSecurityZoneCompartmentResponse ¶ added in v65.3.0

type ChangeSecurityZoneCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeSecurityZoneCompartmentResponse wrapper for the ChangeSecurityZoneCompartment operation

func (ChangeSecurityZoneCompartmentResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeSecurityZoneCompartmentResponse) String ¶ added in v65.3.0

type ClassificationStatusEnum ¶

type ClassificationStatusEnum string

ClassificationStatusEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ClassificationStatusEnum

func GetClassificationStatusEnumValues ¶

func GetClassificationStatusEnumValues() []ClassificationStatusEnum

GetClassificationStatusEnumValues Enumerates the set of values for ClassificationStatusEnum

func GetMappingClassificationStatusEnum ¶

func GetMappingClassificationStatusEnum(val string) (ClassificationStatusEnum, bool)

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

type CloudGuardClient ¶

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

CloudGuardClient a client for CloudGuard

func NewCloudGuardClientWithConfigurationProvider ¶

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

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

func NewCloudGuardClientWithOboToken ¶

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

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

as well as reading the region

func (CloudGuardClient) AddCompartment ¶ added in v65.3.0

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

AddCompartment Adds a compartment to an existing security zone (SecurityZone resource), identified by securityZoneId. Specify parameters in an AddCompartmentDetails resource that you pass. If you previously removed a subcompartment from a security zone, you can add it back to the same security zone. The security zone ensures that resources in the subcompartment comply with the security zone's policies.

See also ¶

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

func (CloudGuardClient) CancelWorkRequest ¶ added in v65.17.0

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

CancelWorkRequest Cancels a work request identified by workRequestId.

See also ¶

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

func (CloudGuardClient) ChangeDataSourceCompartment ¶ added in v65.17.0

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

ChangeDataSourceCompartment Moves a data source (DataSource resource), identified by parameters passed in a ChangeDataSourceCompartmentDetails resource, from the current compartment to another.

See also ¶

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

func (CloudGuardClient) ChangeDetectorRecipeCompartment ¶

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

ChangeDetectorRecipeCompartment Moves the detector recipe (DetectorRecipe resource), identified by detectorRecipeId, from the current compartment to another compartment. When provided, If-Match is checked against etag values of the resource.

See also ¶

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

func (CloudGuardClient) ChangeManagedListCompartment ¶

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

ChangeManagedListCompartment Moves the managed list (ManagedList resource), 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/latest/cloudguard/ChangeManagedListCompartment.go.html to see an example of how to use ChangeManagedListCompartment API.

func (CloudGuardClient) ChangeResponderRecipeCompartment ¶

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

ChangeResponderRecipeCompartment Moves the responder recipe (ResponderRecipe resource), identified by responderRecipeId in a ChangeResponderRecipeCompartmentDetails resource, from the current compartment to another compartment. When provided, if-match is checked against etag values of the resource.

See also ¶

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

func (CloudGuardClient) ChangeSavedQueryCompartment ¶ added in v65.64.0

func (client CloudGuardClient) ChangeSavedQueryCompartment(ctx context.Context, request ChangeSavedQueryCompartmentRequest) (response ChangeSavedQueryCompartmentResponse, err error)

ChangeSavedQueryCompartment Moves the SavedQuery resource into a different compartment. When provided, If-Match is checked against etag values of the resource.

See also ¶

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

func (CloudGuardClient) ChangeSecurityRecipeCompartment ¶ added in v65.3.0

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

ChangeSecurityRecipeCompartment Moves the security recipe (SecurityRecipe resource), identified by securityRecipeId, from the current compartment to another compartment. When provided, `if-match` is checked against `etag` values of the resource.

See also ¶

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

func (CloudGuardClient) ChangeSecurityZoneCompartment ¶ added in v65.3.0

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

ChangeSecurityZoneCompartment Moves a security zone, identified by securityZoneId, to a different compartment. Pass parameters through a ChangeSecurityZoneCompartmentDetails resource. When provided, `if-match` is checked against `etag` values of the resource.

See also ¶

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

func (*CloudGuardClient) ConfigurationProvider ¶

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

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

func (CloudGuardClient) CreateAdhocQuery ¶ added in v65.64.0

func (client CloudGuardClient) CreateAdhocQuery(ctx context.Context, request CreateAdhocQueryRequest) (response CreateAdhocQueryResponse, err error)

CreateAdhocQuery Creates a AdhocQuery resource.

See also ¶

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

func (CloudGuardClient) CreateDataMaskRule ¶

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

CreateDataMaskRule Creates a new DataMaskRule resource definition.

See also ¶

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

func (CloudGuardClient) CreateDataSource ¶ added in v65.17.0

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

CreateDataSource Creates a data source (DataSource resource), using parameters passed through a CreateDataSourceDetails resource.

See also ¶

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

func (CloudGuardClient) CreateDetectorRecipe ¶

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

CreateDetectorRecipe Creates a new DetectorRecipe resource.

See also ¶

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

func (CloudGuardClient) CreateDetectorRecipeDetectorRule ¶ added in v65.17.0

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

CreateDetectorRecipeDetectorRule Creates a detector rule.

See also ¶

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

func (CloudGuardClient) CreateManagedList ¶

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

CreateManagedList Creates a new ManagedList resource.

See also ¶

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

func (CloudGuardClient) CreateResponderRecipe ¶

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

CreateResponderRecipe Creates a responder recipe (ResponderRecipe resource), from values passed in a CreateResponderRecipeDetails resource.

See also ¶

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

func (CloudGuardClient) CreateSavedQuery ¶ added in v65.64.0

func (client CloudGuardClient) CreateSavedQuery(ctx context.Context, request CreateSavedQueryRequest) (response CreateSavedQueryResponse, err error)

CreateSavedQuery Creates a SavedQuery resource.

See also ¶

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

func (CloudGuardClient) CreateSecurityRecipe ¶ added in v65.3.0

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

CreateSecurityRecipe Creates a security zone recipe (SecurityRecipe resource), using parameters passed in a CreateSecurityRecipeDetails resource.

See also ¶

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

func (CloudGuardClient) CreateSecurityZone ¶ added in v65.3.0

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

CreateSecurityZone Creates a security zone (SecurityZone resource) for a compartment. Pass parameters through a CreateSecurityZoneDetails resource.

See also ¶

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

func (CloudGuardClient) CreateTarget ¶

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

CreateTarget Creates a target (Target resource), using parameters passed in a CreateTargetDetails resource.

See also ¶

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

func (CloudGuardClient) CreateTargetDetectorRecipe ¶

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

CreateTargetDetectorRecipe Attaches a DetectorRecipe to a target (Target resource) identified by targetId, using parameters passed in a TargetAttachTargetDetectorRecipeDetails resource. Attach a DetectorRecipe with the Target

See also ¶

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

func (CloudGuardClient) CreateTargetResponderRecipe ¶

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

CreateTargetResponderRecipe Attaches a responder recipe to a target.

See also ¶

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

func (CloudGuardClient) CreateWlpAgent ¶ added in v65.64.0

func (client CloudGuardClient) CreateWlpAgent(ctx context.Context, request CreateWlpAgentRequest) (response CreateWlpAgentResponse, err error)

CreateWlpAgent Creates and registers a WLP agent for an on-premise resource.

See also ¶

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

func (CloudGuardClient) DeleteAdhocQuery ¶ added in v65.64.0

func (client CloudGuardClient) DeleteAdhocQuery(ctx context.Context, request DeleteAdhocQueryRequest) (response DeleteAdhocQueryResponse, err error)

DeleteAdhocQuery Deletes a AdhocQuery resource identified by adhocQueryId.

See also ¶

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

func (CloudGuardClient) DeleteDataMaskRule ¶

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

DeleteDataMaskRule Deletes a DataMaskRule resource, identified by dataMaskRuleId.

See also ¶

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

func (CloudGuardClient) DeleteDataSource ¶ added in v65.17.0

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

DeleteDataSource Deletes a data source (DataSource resource) identified by dataSourceId.

See also ¶

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

func (CloudGuardClient) DeleteDetectorRecipe ¶

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

DeleteDetectorRecipe Deletes a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.

See also ¶

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

func (CloudGuardClient) DeleteDetectorRecipeDetectorRule ¶ added in v65.17.0

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

DeleteDetectorRecipeDetectorRule Deletes the DetectorRecipeDetectorRule resource identified by detectorRuleId.

See also ¶

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

func (CloudGuardClient) DeleteDetectorRecipeDetectorRuleDataSource ¶ added in v65.17.0

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

DeleteDetectorRecipeDetectorRuleDataSource Deletes the DetectorRecipeDetectorRuleDataSource resource by identifier.

See also ¶

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

func (CloudGuardClient) DeleteManagedList ¶

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

DeleteManagedList Deletes a managed list identified by managedListId.

See also ¶

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

func (CloudGuardClient) DeleteResponderRecipe ¶

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

DeleteResponderRecipe Deletes a responder recipe (ResponderRecipe resource) identified by responderRecipeId.

See also ¶

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

func (CloudGuardClient) DeleteSavedQuery ¶ added in v65.64.0

func (client CloudGuardClient) DeleteSavedQuery(ctx context.Context, request DeleteSavedQueryRequest) (response DeleteSavedQueryResponse, err error)

DeleteSavedQuery Deletes a SavedQuery resource identified by savedQueryId.

See also ¶

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

func (CloudGuardClient) DeleteSecurityRecipe ¶ added in v65.3.0

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

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

See also ¶

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

func (CloudGuardClient) DeleteSecurityZone ¶ added in v65.3.0

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

DeleteSecurityZone Deletes a security zone, identified by securityZoneId.

See also ¶

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

func (CloudGuardClient) DeleteTarget ¶

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

DeleteTarget Deletes a target (Target resource) identified by targetId.

See also ¶

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

func (CloudGuardClient) DeleteTargetDetectorRecipe ¶

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

DeleteTargetDetectorRecipe Deletes the target detector recipe (TargetDetectorRecipe resource) identified by targetDetectorRecipeId, from a target (Target resource) identified by targetId.

See also ¶

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

func (CloudGuardClient) DeleteTargetResponderRecipe ¶

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

DeleteTargetResponderRecipe Detaches a target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, from a target (Target resource) identified by targetId.

See also ¶

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

func (CloudGuardClient) DeleteWlpAgent ¶ added in v65.64.0

func (client CloudGuardClient) DeleteWlpAgent(ctx context.Context, request DeleteWlpAgentRequest) (response DeleteWlpAgentResponse, err error)

DeleteWlpAgent Deletes and unregisters the WLP agent for an on-premise resource. x-obmcs-splat: routing:

strategy: route-to-any-ad

serviceList: [ 'cloudguard-cp-SPLAT_ENV' ] resources:

wlpAgent:
  serviceResourceName: WlpAgent
  targetCompartmentId: downstream.getOr404('cloudguard-cp-SPLAT_ENV', 'GetWlpAgent', request.resourceId).compartmentId
  actionKind: delete
  resourceOcid: request.resourceId
  reconciliationCanStartAfterSecs: 30
  permissions: [ "WLP_AGENT_DELETE" ]

authorization:

mode: automated
check: resources['wlpAgent'].grantedPermissions.contains('WLP_AGENT_DELETE')
allowCrossTenancy: true

tagStore:

mode: automated

maximumAttemptCount: 3 throttling:

perUserLimit:
  rpsLimit: 15
perTenantLimit:
  rpsLimit: 30

quotas:

mode: automated

search:

mode: backfilling
operationResourceName: wlpAgent

lock:

mode: test
operationResourceName: wlpAgent

See also ¶

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

func (CloudGuardClient) ExecuteResponderExecution ¶

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

ExecuteResponderExecution Executes the responder execution. When provided, if-match is checked against etag values of the resource.

See also ¶

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

func (CloudGuardClient) GetAdhocQuery ¶ added in v65.64.0

func (client CloudGuardClient) GetAdhocQuery(ctx context.Context, request GetAdhocQueryRequest) (response GetAdhocQueryResponse, err error)

GetAdhocQuery Returns an adhoc query identified by adhocQueryId.

See also ¶

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

func (CloudGuardClient) GetAdhocQueryResultContent ¶ added in v65.64.0

func (client CloudGuardClient) GetAdhocQueryResultContent(ctx context.Context, request GetAdhocQueryResultContentRequest) (response GetAdhocQueryResultContentResponse, err error)

GetAdhocQueryResultContent Downloads the results for a given adhoc ID (from includes results from all monitoring regions).

See also ¶

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

func (CloudGuardClient) GetConditionMetadataType ¶

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

GetConditionMetadataType Returns a ConditionMetatDataType resource with its details.

See also ¶

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

func (CloudGuardClient) GetConfiguration ¶

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

GetConfiguration 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/latest/cloudguard/GetConfiguration.go.html to see an example of how to use GetConfiguration API.

func (CloudGuardClient) GetDataMaskRule ¶

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

GetDataMaskRule Returns a DataMaskRule resource, identified by dataMaskRuleId.

See also ¶

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

func (CloudGuardClient) GetDataSource ¶ added in v65.17.0

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

GetDataSource Returns a data source (DataSource resource) identified by dataSourceId.

See also ¶

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

func (CloudGuardClient) GetDetector ¶

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

GetDetector Returns a Detector resource, identified by detectorId.

See also ¶

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

func (CloudGuardClient) GetDetectorRecipe ¶

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

GetDetectorRecipe Returns a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.

See also ¶

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

func (CloudGuardClient) GetDetectorRecipeDetectorRule ¶

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

GetDetectorRecipeDetectorRule Returns a detector rule (DetectorRule resource) identified by detectorRuleId.

See also ¶

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

func (CloudGuardClient) GetDetectorRule ¶

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

GetDetectorRule Returns a detector rule (DetectorRule resource) identified by detectorRuleId.

See also ¶

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

func (CloudGuardClient) GetManagedList ¶

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

GetManagedList Returns a managed list identified by managedListId.

See also ¶

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

func (CloudGuardClient) GetProblem ¶

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

GetProblem Returns the Problem resource identified by problemId.

See also ¶

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

func (CloudGuardClient) GetResource ¶ added in v65.64.0

func (client CloudGuardClient) GetResource(ctx context.Context, request GetResourceRequest) (response GetResourceResponse, err error)

GetResource Returns a resource identified by resourceId

See also ¶

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

func (CloudGuardClient) GetResourceProfile ¶

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

GetResourceProfile Returns details for a resource profile, identified by resourceProfileId.

See also ¶

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

func (CloudGuardClient) GetResourceVulnerability ¶ added in v65.64.0

func (client CloudGuardClient) GetResourceVulnerability(ctx context.Context, request GetResourceVulnerabilityRequest) (response GetResourceVulnerabilityResponse, err error)

GetResourceVulnerability Returns the vulnerability details associated with the cveId where resource is an instance

See also ¶

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

func (CloudGuardClient) GetResponderExecution ¶

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

GetResponderExecution Returns a responder execution identified by responderExecutionId.

See also ¶

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

func (CloudGuardClient) GetResponderRecipe ¶

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

GetResponderRecipe Returns a responder recipe (ResponderRecipe resource) identified by responderRecipeId.

See also ¶

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

func (CloudGuardClient) GetResponderRecipeResponderRule ¶

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

GetResponderRecipeResponderRule Returns a responder rule (ResponderRule resource) identified by responderRuleId.

See also ¶

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

func (CloudGuardClient) GetResponderRule ¶

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

GetResponderRule Returns a responder rule (ResponderRule resource) identified by resonderRuleId.

See also ¶

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

func (CloudGuardClient) GetSavedQuery ¶ added in v65.64.0

func (client CloudGuardClient) GetSavedQuery(ctx context.Context, request GetSavedQueryRequest) (response GetSavedQueryResponse, err error)

GetSavedQuery Returns a SavedQuery resource identified by savedQueryId.

See also ¶

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

func (CloudGuardClient) GetSecurityPolicy ¶ added in v65.3.0

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

GetSecurityPolicy Returns a security zone policy (SecurityPolicy resource), identified by its unique ID (securityPolicyId). When a policy is enabled in a security zone, then any action in the zone that attempts to violate that policy is blocked.

See also ¶

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

func (CloudGuardClient) GetSecurityRecipe ¶ added in v65.3.0

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

GetSecurityRecipe Returns a security zone recipe (SecurityRecipe resource) identified by securityRecipeId.

See also ¶

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

func (CloudGuardClient) GetSecurityZone ¶ added in v65.3.0

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

GetSecurityZone Returns a security zone (SecurityZone resource) identified by securityZoneId.

See also ¶

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

func (CloudGuardClient) GetSighting ¶

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

GetSighting Returns a single sighting (Sighting resource) identified by sightingId.

See also ¶

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

func (CloudGuardClient) GetTarget ¶

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

GetTarget Returns a target (Target resource) identified by targetId.

See also ¶

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

func (CloudGuardClient) GetTargetDetectorRecipe ¶

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

GetTargetDetectorRecipe Returns a target detector recipe (TargetDetectorRecipe resource) identified by targetDetectorRecipeId.

See also ¶

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

func (CloudGuardClient) GetTargetDetectorRecipeDetectorRule ¶

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

GetTargetDetectorRecipeDetectorRule Returns DetectorRule resource by identified by targetDetectorRecipeId.

See also ¶

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

func (CloudGuardClient) GetTargetResponderRecipe ¶

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

GetTargetResponderRecipe Returns a target responder recipe (TargetResponderRecipe) identified by targetResponderRecipeId for a target (Target resource) identified by targetId.

See also ¶

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

func (CloudGuardClient) GetTargetResponderRecipeResponderRule ¶

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

GetTargetResponderRecipeResponderRule Returns a responder rule (ResponderRule resource) identified by responderRuleId, from a target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, attached to a target (Target resource) identified by targetId.

See also ¶

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

func (CloudGuardClient) GetWlpAgent ¶ added in v65.64.0

func (client CloudGuardClient) GetWlpAgent(ctx context.Context, request GetWlpAgentRequest) (response GetWlpAgentResponse, err error)

GetWlpAgent Returns a WlpAgent resource for an on-premise resource identified by wlpAgentId.

See also ¶

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

func (CloudGuardClient) GetWorkRequest ¶ added in v65.17.0

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

GetWorkRequest Returns details for a work request (WorkRequest resource) identified by workRequestId.

See also ¶

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

func (CloudGuardClient) ListAdhocQueries ¶ added in v65.64.0

func (client CloudGuardClient) ListAdhocQueries(ctx context.Context, request ListAdhocQueriesRequest) (response ListAdhocQueriesResponse, err error)

ListAdhocQueries Returns a list of all adhoc queries (AdhocQuery resources) for a compartment identified by compartmentId. List is returned in a AdhocQueryCollection resource with page of AdhocQuerySummary resources. The ListAdhocQueries operation returns only the adhoc queries 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 ListAdhocQueries on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (CloudGuardClient) ListAdhocQueryResults ¶ added in v65.64.0

func (client CloudGuardClient) ListAdhocQueryResults(ctx context.Context, request ListAdhocQueryResultsRequest) (response ListAdhocQueryResultsResponse, err error)

ListAdhocQueryResults Lists the results for a given adhoc ID (from includes results from all monitoring regions).

See also ¶

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

func (CloudGuardClient) ListConditionMetadataTypes ¶

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

ListConditionMetadataTypes Returns a list of ConditionMetadataType resources.

See also ¶

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

func (CloudGuardClient) ListDataMaskRules ¶

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

ListDataMaskRules Returns a list of all DataMaskRule resources in the specified compartmentId (OCID) and its subcompartments.

See also ¶

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

func (CloudGuardClient) ListDataSourceEvents ¶ added in v65.17.0

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

ListDataSourceEvents Returns a list of data source events (DataSourceEventCollection resource) from the data source (DataSource resource) identified by dataSourceId.

See also ¶

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

func (CloudGuardClient) ListDataSources ¶ added in v65.17.0

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

ListDataSources Returns a list of all data sources (DataSource resources) for a compartment identified by compartmentId. List is returned in a DataSourceCollection resource with page of DataSourceSummary resources. The ListAdhocQueries operation returns only the adhoc queries 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 ListAdhocQueries on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (CloudGuardClient) ListDetectorRecipeDetectorRules ¶

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

ListDetectorRecipeDetectorRules Returns a list of detector rules (DetectorRule resources) for a detector recipe (DetectorRecipe resource), identified by detectorRecipeId.

See also ¶

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

func (CloudGuardClient) ListDetectorRecipes ¶

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

ListDetectorRecipes Returns a list of all detector recipes (DetectorRecipe resources) 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/latest/cloudguard/ListDetectorRecipes.go.html to see an example of how to use ListDetectorRecipes API.

func (CloudGuardClient) ListDetectorRules ¶

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

ListDetectorRules Returns a list of detector rules for the DetectorRecipe resource identified by detectorId.

See also ¶

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

func (CloudGuardClient) ListDetectors ¶

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

ListDetectors Returns a detector catalog (DetectorCollection resource) with a list of DetectorSummary resources.

See also ¶

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

func (CloudGuardClient) ListImpactedResources ¶

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

ListImpactedResources Returns a list of impacted resources for a problem identified by problemId.

See also ¶

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

func (CloudGuardClient) ListManagedListTypes ¶

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

ListManagedListTypes Returns all managed list types (listType parameter) that Cloud Guard supports.

See also ¶

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

func (CloudGuardClient) ListManagedLists ¶

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

ListManagedLists Returns a list of all ManagedList resources 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/latest/cloudguard/ListManagedLists.go.html to see an example of how to use ListManagedLists API.

func (CloudGuardClient) ListPolicies ¶

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

ListPolicies Returns the list of global policy statements (policy attributes) needed to fully enable Cloud Guard.

See also ¶

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

func (CloudGuardClient) ListProblemEndpoints ¶

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

ListProblemEndpoints Returns a list of endpoints associated with a problem, identified by problemId.

See also ¶

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

func (CloudGuardClient) ListProblemEntities ¶ added in v65.17.0

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

ListProblemEntities Returns a list of entities for a problem.

See also ¶

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

func (CloudGuardClient) ListProblemHistories ¶

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

ListProblemHistories Returns a list of actions taken on a problem.

See also ¶

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

func (CloudGuardClient) ListProblems ¶

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

ListProblems Returns a list of all Problems identified by 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/latest/cloudguard/ListProblems.go.html to see an example of how to use ListProblems API.

func (CloudGuardClient) ListRecommendations ¶

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

ListRecommendations Returns a list of recommendations (RecommendationSummaryCollection resource with a page of RecommendationSummary resources) for a specified compartment OCID.

See also ¶

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

func (CloudGuardClient) ListResourcePorts ¶ added in v65.64.0

func (client CloudGuardClient) ListResourcePorts(ctx context.Context, request ListResourcePortsRequest) (response ListResourcePortsResponse, err error)

ListResourcePorts Returns the list of open ports associated with the resourceId where resource is an instance

See also ¶

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

func (CloudGuardClient) ListResourceProfileEndpoints ¶

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

ListResourceProfileEndpoints Returns a list of endpoints (ResourceProfileEndpointCollection resource with a page of ResourceProfileEndpointSummary resources) for a resource profile identified by resourceProfileId.

See also ¶

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

func (CloudGuardClient) ListResourceProfileImpactedResources ¶

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

ListResourceProfileImpactedResources Returns a list of impacted resources (ResourceProfileImpactedResourceCollection resource with a page of ResourceProfileImpactedResourceSummary resources) for a resource profile identified by resourceProfileId.

See also ¶

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

func (CloudGuardClient) ListResourceProfiles ¶

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

ListResourceProfiles Returns a list of all resource profile summaries (ResourceProfileCollection resource with a page of ResourceProfileSummary resources) for a compartment, identified by compartmentId and filtered as specified. The ListResourceProfiles operation returns only the resource profiles in `compartmentId` passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListResourceProfiles on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (CloudGuardClient) ListResourceTypes ¶

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

ListResourceTypes Returns a single ResourceTypeCollection resource, containing a list of resource types, identified by parameters specified.

See also ¶

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

func (CloudGuardClient) ListResourceVulnerabilities ¶ added in v65.64.0

func (client CloudGuardClient) ListResourceVulnerabilities(ctx context.Context, request ListResourceVulnerabilitiesRequest) (response ListResourceVulnerabilitiesResponse, err error)

ListResourceVulnerabilities Returns the list of vulnerabilities associated with the resourceId where resource is an instance

See also ¶

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

func (CloudGuardClient) ListResources ¶ added in v65.64.0

func (client CloudGuardClient) ListResources(ctx context.Context, request ListResourcesRequest) (response ListResourcesResponse, err error)

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

See also ¶

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

func (CloudGuardClient) ListResponderActivities ¶

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

ListResponderActivities Returns a list of responder activities for a problem, identified by problemId, in a ResponderActivityCollection resource, with a page of ResponderActivitySummary resources.

See also ¶

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

func (CloudGuardClient) ListResponderExecutions ¶

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

ListResponderExecutions Returns a list of responder executions. A responder execution is an entity that tracks the collective execution of multiple responder rule executions for a given problem.

See also ¶

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

func (CloudGuardClient) ListResponderRecipeResponderRules ¶

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

ListResponderRecipeResponderRules Returns a list of responder rules (ResponderRule resources in a responderRecipeResponderRuleCollection resource, with page of ResponderRuleSummary resources), for a responder recipe (ResponderRecipe resource), identified by responderRecipeId.

See also ¶

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

func (CloudGuardClient) ListResponderRecipes ¶

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

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

See also ¶

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

func (CloudGuardClient) ListResponderRules ¶

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

ListResponderRules Returns a list of responder rules for the ResponderRecipe resource identified by responderId. The list is contained in a ResponderRuleCollection resource with a page of ResponderRuleSummary resources.

See also ¶

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

func (CloudGuardClient) ListSavedQueries ¶ added in v65.64.0

func (client CloudGuardClient) ListSavedQueries(ctx context.Context, request ListSavedQueriesRequest) (response ListSavedQueriesResponse, err error)

ListSavedQueries Returns a list of saved queries run in a tenancy.

See also ¶

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

func (CloudGuardClient) ListSecurityPolicies ¶ added in v65.3.0

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

ListSecurityPolicies Returns a list of security zone policies (SecurityPolicySummary resources), identified by compartmentId.

See also ¶

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

func (CloudGuardClient) ListSecurityRecipes ¶ added in v65.3.0

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

ListSecurityRecipes Returns a list of security zone recipes (SecurityRecipeSummary resources) in a compartment, identified by compartmentId.

See also ¶

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

func (CloudGuardClient) ListSecurityZones ¶ added in v65.3.0

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

ListSecurityZones Returns a list of security zones (SecurityZone resources) in a compartment identified by compartmentId. List is contained in a page of SecurityZoneSummary resources.

See also ¶

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

func (CloudGuardClient) ListSightingEndpoints ¶

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

ListSightingEndpoints Returns sighting endpoints details in a SightingEndpointsCollection resource with a page of SightingEndpointSummary resources.

See also ¶

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

func (CloudGuardClient) ListSightingImpactedResources ¶

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

ListSightingImpactedResources Returns a list of impacted resources for a sighting, identified by sightingId, in a SightingImpactedResourceCollection resource with a page of SightingImpactedResourceSummary resources.

See also ¶

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

func (CloudGuardClient) ListSightings ¶

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

ListSightings For the parameters passed, returns a list of sightings (SightingCollection resource) with a page of SightingSummary 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 ListSightings on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (CloudGuardClient) ListTactics ¶

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

ListTactics Returns a list of TacticSummary resources for a compartment, identified by compartmentId.

See also ¶

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

func (CloudGuardClient) ListTargetDetectorRecipeDetectorRules ¶

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

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

See also ¶

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

func (CloudGuardClient) ListTargetDetectorRecipes ¶

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

ListTargetDetectorRecipes Returns a list of all target detector recipes (TargetDetectorRecipe resources) associated with a target (Target resource), identified by targetId. The list is contained in a TargetDetectorRecipeCollection resource with page of TargetDetectorRecipeSummary resources.

See also ¶

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

func (CloudGuardClient) ListTargetResponderRecipeResponderRules ¶

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

ListTargetResponderRecipeResponderRules Returns a list of responder rules (ResponderRule resources) associated with a responder recipe (ResponderRecipe resource) attached to a Target. List is returned in a TargetResponderRecipeResponderRuleCollection resource with page of TargetResponderRecipeResponderRuleSummary resources.

See also ¶

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

func (CloudGuardClient) ListTargetResponderRecipes ¶

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

ListTargetResponderRecipes Returns a list of summary information for all responder recipes (TargetResponderRecipeCollection resource, with a page of TargetResponderRecipeSummary resources) attached to a target identified by targetId, located in a compartment identified by compartmentId.

See also ¶

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

func (CloudGuardClient) ListTargets ¶

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

ListTargets Returns a list of targets (TargetCollection resource with page of TargetSummary resources) for the target identified by compartmentId. By default, only the target associated with the compartment is returned. Setting compartmentIdInSubtree to true returns the entire hierarchy of targets in subcompartments. 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 targets in compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (CloudGuardClient) ListTechniques ¶

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

ListTechniques Returns a list of techniques associated with detector rules.

See also ¶

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

func (CloudGuardClient) ListWlpAgents ¶ added in v65.64.0

func (client CloudGuardClient) ListWlpAgents(ctx context.Context, request ListWlpAgentsRequest) (response ListWlpAgentsResponse, err error)

ListWlpAgents Returns a list of WLP agents in a compartment.

See also ¶

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

func (CloudGuardClient) ListWorkRequestErrors ¶ added in v65.17.0

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

ListWorkRequestErrors Returns a list of errors for a work request identified by workRequestId.

See also ¶

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

func (CloudGuardClient) ListWorkRequestLogs ¶ added in v65.17.0

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

ListWorkRequestLogs Returns a paginated list (WorkRequestLogEntryCollection resource) of log entries for a request, identified by workRequestId.

See also ¶

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

func (CloudGuardClient) ListWorkRequests ¶ added in v65.17.0

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

ListWorkRequests Returns a list of work requests (WorkRequestSummaryCollection resource), in a compartment identified by compartmentId.

See also ¶

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

func (CloudGuardClient) RemoveCompartment ¶ added in v65.3.0

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

RemoveCompartment Removes a compartment from a security zone (SecurityZone resource), identified by securityZoneId. Pass compartmentId of compartment to remove through a RemoveCompartmentDetails resource. When you remove a subcompartment from a security zone, it no longer enforces security zone policies on the resources in the subcompartment. You can't remove the primary compartment that was used to create the security zone.

See also ¶

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

func (CloudGuardClient) RequestRiskScores ¶

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

RequestRiskScores Returns a page of RiskScoreAggregation resources for a compartment, identified by compartmentId.

See also ¶

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

func (CloudGuardClient) RequestSecurityScoreSummarizedTrend ¶

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

RequestSecurityScoreSummarizedTrend Returns a page of SecurityScoreTrendAggregation resources. These measure the number of resources examined across all regions and compare it with the number of problems detected.

See also ¶

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

func (CloudGuardClient) RequestSecurityScores ¶

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

RequestSecurityScores Returns a page of SecurityScoreAggregation resources. These measure the number of resources examined across all regions and compare it with the number of problems detected.

See also ¶

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

func (CloudGuardClient) RequestSummarizedActivityProblems ¶

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

RequestSummarizedActivityProblems Returns the summary of 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/latest/cloudguard/RequestSummarizedActivityProblems.go.html to see an example of how to use RequestSummarizedActivityProblems API.

func (CloudGuardClient) RequestSummarizedProblems ¶

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

RequestSummarizedProblems Returns the number of problems 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/latest/cloudguard/RequestSummarizedProblems.go.html to see an example of how to use RequestSummarizedProblems API.

func (CloudGuardClient) RequestSummarizedResponderExecutions ¶

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

RequestSummarizedResponderExecutions Returns the number of responder executions, identified by parameters specified, in a page of ResponderExecutionAggregation resources. Setting accessLevel 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). “Not Authorized” is returned if user doesn't have access to at least one of the child compartments. When accessLevel is set to RESTRICTED, permissions are checked and no partial results are displayed. This is valid only when compartmentIdInSubtree is set to true. Setting accessLevel 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). “Not Authorized” is returned if user doesn't have access to at least one of the child compartments. When accessLevel is set to RESTRICTED, permissions are checked and no partial results are displayed. This is valid only when compartmentIdInSubtree is set to true.

See also ¶

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

func (CloudGuardClient) RequestSummarizedRiskScores ¶

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

RequestSummarizedRiskScores DEPRECATED

See also ¶

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

func (CloudGuardClient) RequestSummarizedSecurityScores ¶

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

RequestSummarizedSecurityScores DEPRECATED

See also ¶

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

func (CloudGuardClient) RequestSummarizedTopTrendResourceProfileRiskScores ¶

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

RequestSummarizedTopTrendResourceProfileRiskScores Returns a list of resource profile risk score aggregation summaries (ResourceProfileRiskScoreAggregationSummaryCollection resource with a page of ResourceProfileRiskScoreAggregationSummary resources) for a specified compartment.

See also ¶

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

func (CloudGuardClient) RequestSummarizedTrendProblems ¶

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

RequestSummarizedTrendProblems Returns 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/latest/cloudguard/RequestSummarizedTrendProblems.go.html to see an example of how to use RequestSummarizedTrendProblems API.

func (CloudGuardClient) RequestSummarizedTrendResourceRiskScores ¶

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

RequestSummarizedTrendResourceRiskScores Returns a summary of risk score trends in a ResourceRiskScoreAggregationCollection resource, with a page of ResourceRiskScoreAggregation resources, filtered by parameters that you specify in a RequestSummarizedTrendResourceRiskScoresDetailsresource.

See also ¶

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

func (CloudGuardClient) RequestSummarizedTrendResponderExecutions ¶

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

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

See also ¶

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

func (CloudGuardClient) RequestSummarizedTrendSecurityScores ¶

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

RequestSummarizedTrendSecurityScores DEPRECATED

See also ¶

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

func (*CloudGuardClient) SetRegion ¶

func (client *CloudGuardClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (CloudGuardClient) SkipBulkResponderExecution ¶

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

SkipBulkResponderExecution Skips the execution for a bulk of responder executions.

See also ¶

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

func (CloudGuardClient) SkipResponderExecution ¶

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

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

See also ¶

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

func (CloudGuardClient) TriggerResponder ¶

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

TriggerResponder 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/latest/cloudguard/TriggerResponder.go.html to see an example of how to use TriggerResponder API.

func (CloudGuardClient) UpdateBulkProblemStatus ¶

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

UpdateBulkProblemStatus 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/latest/cloudguard/UpdateBulkProblemStatus.go.html to see an example of how to use UpdateBulkProblemStatus API.

func (CloudGuardClient) UpdateConfiguration ¶

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

UpdateConfiguration Updates 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/latest/cloudguard/UpdateConfiguration.go.html to see an example of how to use UpdateConfiguration API.

func (CloudGuardClient) UpdateDataMaskRule ¶

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

UpdateDataMaskRule Updates a data mask rule (DataMaskRule resource) identified by dataMaskRuleId.

See also ¶

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

func (CloudGuardClient) UpdateDataSource ¶ added in v65.17.0

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

UpdateDataSource Updates a data source (DataSource resource) identified by dataSourceId, using values passed in an UpdateDataSourceDetails resource.

See also ¶

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

func (CloudGuardClient) UpdateDetectorRecipe ¶

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

UpdateDetectorRecipe Updates a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.

See also ¶

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

func (CloudGuardClient) UpdateDetectorRecipeDetectorRule ¶

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

UpdateDetectorRecipeDetectorRule Updates a detector rule (DetectorRule resource) identified by detectorRuleId.

See also ¶

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

func (CloudGuardClient) UpdateManagedList ¶

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

UpdateManagedList Updates a ManagedList resource, identified by managedList.

See also ¶

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

func (CloudGuardClient) UpdateProblemStatus ¶

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

UpdateProblemStatus 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/latest/cloudguard/UpdateProblemStatus.go.html to see an example of how to use UpdateProblemStatus API.

func (CloudGuardClient) UpdateResponderRecipe ¶

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

UpdateResponderRecipe Updates a responder recipe (ResponderRecipe resource) identified by responderRecipeId, passed in an UpdateResponderRecipeDetails resource.

See also ¶

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

func (CloudGuardClient) UpdateResponderRecipeResponderRule ¶

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

UpdateResponderRecipeResponderRule Updates a responder rule (ResponderRule resource) identified by responderRuleId, passed in a UpdateResponderRecipeResponderRuleDetails resource.

See also ¶

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

func (CloudGuardClient) UpdateSavedQuery ¶ added in v65.64.0

func (client CloudGuardClient) UpdateSavedQuery(ctx context.Context, request UpdateSavedQueryRequest) (response UpdateSavedQueryResponse, err error)

UpdateSavedQuery Updates a saved query identified by savedQueryId.

See also ¶

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

func (CloudGuardClient) UpdateSecurityRecipe ¶ added in v65.3.0

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

UpdateSecurityRecipe Updates a security zone recipe (SecurityRecipe resource), identified by securityRecipeId, using parameters passed in an UpdateSecurityRecipeDetails resource.

See also ¶

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

func (CloudGuardClient) UpdateSecurityZone ¶ added in v65.3.0

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

UpdateSecurityZone Updates a security zone (SecurityZone resource) identified by securityZoneId. Pass parameters through an UpdateSecurityZoneDetails resource.

See also ¶

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

func (CloudGuardClient) UpdateTarget ¶

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

UpdateTarget Updates a target (Target resource) identified by targetId, using parameters passed in an UpdateTargetDetails resource.

See also ¶

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

func (CloudGuardClient) UpdateTargetDetectorRecipe ¶

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

UpdateTargetDetectorRecipe Updates a target detector recipe (TargtetDetectorRecipe resource) identified by targetDetectorRecipeId, using parameters passed in an UpdateTargetDetectorRecipeDetails resource.

See also ¶

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

func (CloudGuardClient) UpdateTargetDetectorRecipeDetectorRule ¶

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

UpdateTargetDetectorRecipeDetectorRule Updates the DetectorRule resource identified by targetDetectorRecipeId

See also ¶

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

func (CloudGuardClient) UpdateTargetResponderRecipe ¶

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

UpdateTargetResponderRecipe Updates the target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, attached to a target identified by targetId. Pass parameters for the update through an UpdateTargetResponderRecipeDetails resource.

See also ¶

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

func (CloudGuardClient) UpdateTargetResponderRecipeResponderRule ¶

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

UpdateTargetResponderRecipeResponderRule Updates a responder rule (ResponderRule resource) identified by responderRuleId, for a target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, for a target (Target resource) identified by targetId. Parameters for the update are passed through an UpdateTargetResponderRecipeResponderRuleDetails resource.

See also ¶

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

func (CloudGuardClient) UpdateWlpAgent ¶ added in v65.64.0

func (client CloudGuardClient) UpdateWlpAgent(ctx context.Context, request UpdateWlpAgentRequest) (response UpdateWlpAgentResponse, err error)

UpdateWlpAgent Updates and renews the certificate for an on-premise WLP agent identified by wlpAgentId.

See also ¶

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

type CloudGuardStatusEnum ¶

type CloudGuardStatusEnum string

CloudGuardStatusEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CloudGuardStatusEnum

func GetCloudGuardStatusEnumValues ¶

func GetCloudGuardStatusEnumValues() []CloudGuardStatusEnum

GetCloudGuardStatusEnumValues Enumerates the set of values for CloudGuardStatusEnum

func GetMappingCloudGuardStatusEnum ¶

func GetMappingCloudGuardStatusEnum(val string) (CloudGuardStatusEnum, bool)

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

type CompositeCondition ¶

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

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

	// Composite condition operator
	CompositeOperator CompositeConditionCompositeOperatorEnum `mandatory:"false" json:"compositeOperator,omitempty"`
}

CompositeCondition Composite condition resource with nested condition.

func (CompositeCondition) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CompositeCondition) String ¶

func (m CompositeCondition) String() string

func (*CompositeCondition) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (CompositeCondition) ValidateEnumValue ¶

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

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

type CompositeConditionCompositeOperatorEnum ¶

type CompositeConditionCompositeOperatorEnum string

CompositeConditionCompositeOperatorEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CompositeConditionCompositeOperatorEnum

func GetCompositeConditionCompositeOperatorEnumValues ¶

func GetCompositeConditionCompositeOperatorEnumValues() []CompositeConditionCompositeOperatorEnum

GetCompositeConditionCompositeOperatorEnumValues Enumerates the set of values for CompositeConditionCompositeOperatorEnum

func GetMappingCompositeConditionCompositeOperatorEnum ¶

func GetMappingCompositeConditionCompositeOperatorEnum(val string) (CompositeConditionCompositeOperatorEnum, bool)

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

type Condition ¶

type Condition interface {
}

Condition The base condition resource.

type ConditionFilterTypeEnum ¶

type ConditionFilterTypeEnum string

ConditionFilterTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConditionFilterTypeEnum

func GetConditionFilterTypeEnumValues ¶

func GetConditionFilterTypeEnumValues() []ConditionFilterTypeEnum

GetConditionFilterTypeEnumValues Enumerates the set of values for ConditionFilterTypeEnum

func GetMappingConditionFilterTypeEnum ¶

func GetMappingConditionFilterTypeEnum(val string) (ConditionFilterTypeEnum, bool)

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

type ConditionGroup ¶

type ConditionGroup struct {

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

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

ConditionGroup Details for a condition configured on a target.

func (ConditionGroup) String ¶

func (m ConditionGroup) String() string

func (*ConditionGroup) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (ConditionGroup) ValidateEnumValue ¶

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

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

type ConditionKindEnum ¶

type ConditionKindEnum string

ConditionKindEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConditionKindEnum

func GetConditionKindEnumValues ¶

func GetConditionKindEnumValues() []ConditionKindEnum

GetConditionKindEnumValues Enumerates the set of values for ConditionKindEnum

func GetMappingConditionKindEnum ¶

func GetMappingConditionKindEnum(val string) (ConditionKindEnum, bool)

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

type ConditionMetadataType ¶

type ConditionMetadataType struct {

	// Name used to identify the condition metadata type
	Name *string `mandatory:"true" json:"name"`

	// Collection of ServiceTypeSummary resources
	ServiceTypes []ServiceTypeSummary `mandatory:"true" json:"serviceTypes"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ConditionMetadataType The metadata definition of the requested condition type.

func (ConditionMetadataType) String ¶

func (m ConditionMetadataType) String() string

func (ConditionMetadataType) ValidateEnumValue ¶

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

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

type ConditionMetadataTypeCollection ¶

type ConditionMetadataTypeCollection struct {

	// List of ConditionMetadataTypeSummary resources
	Items []ConditionMetadataTypeSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ConditionMetadataTypeCollection The collection of available condition types.

func (ConditionMetadataTypeCollection) String ¶

func (ConditionMetadataTypeCollection) ValidateEnumValue ¶

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

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

type ConditionMetadataTypeSummary ¶

type ConditionMetadataTypeSummary struct {

	// Unique identifier of the condition type
	Id *string `mandatory:"true" json:"id"`

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

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

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ConditionMetadataTypeSummary Additional information on supported condition types.

func (ConditionMetadataTypeSummary) String ¶

func (ConditionMetadataTypeSummary) ValidateEnumValue ¶

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

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

type ConditionOperator ¶

type ConditionOperator struct {

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

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

ConditionOperator Conditions related to the parameter data type.

func (ConditionOperator) String ¶

func (m ConditionOperator) String() string

func (ConditionOperator) ValidateEnumValue ¶

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

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

type ConditionOperatorNameEnum ¶

type ConditionOperatorNameEnum string

ConditionOperatorNameEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConditionOperatorNameEnum

func GetConditionOperatorNameEnumValues ¶

func GetConditionOperatorNameEnumValues() []ConditionOperatorNameEnum

GetConditionOperatorNameEnumValues Enumerates the set of values for ConditionOperatorNameEnum

func GetMappingConditionOperatorNameEnum ¶

func GetMappingConditionOperatorNameEnum(val string) (ConditionOperatorNameEnum, bool)

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

type ConditionTypeEnumEnum ¶

type ConditionTypeEnumEnum string

ConditionTypeEnumEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConditionTypeEnumEnum

func GetConditionTypeEnumEnumValues ¶

func GetConditionTypeEnumEnumValues() []ConditionTypeEnumEnum

GetConditionTypeEnumEnumValues Enumerates the set of values for ConditionTypeEnumEnum

func GetMappingConditionTypeEnumEnum ¶

func GetMappingConditionTypeEnumEnum(val string) (ConditionTypeEnumEnum, bool)

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

type ConditionValueTypeEnum ¶

type ConditionValueTypeEnum string

ConditionValueTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConditionValueTypeEnum

func GetConditionValueTypeEnumValues ¶

func GetConditionValueTypeEnumValues() []ConditionValueTypeEnum

GetConditionValueTypeEnumValues Enumerates the set of values for ConditionValueTypeEnum

func GetMappingConditionValueTypeEnum ¶

func GetMappingConditionValueTypeEnum(val string) (ConditionValueTypeEnum, bool)

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

type ConfidenceEnum ¶

type ConfidenceEnum string

ConfidenceEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConfidenceEnum

func GetConfidenceEnumValues ¶

func GetConfidenceEnumValues() []ConfidenceEnum

GetConfidenceEnumValues Enumerates the set of values for ConfidenceEnum

func GetMappingConfidenceEnum ¶

func GetMappingConfidenceEnum(val string) (ConfidenceEnum, bool)

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

type ConfigValue ¶

type ConfigValue struct {

	// Configuration list item type (CUSTOM or MANAGED)
	ListType ConfigurationListItemTypeEnum `mandatory:"true" json:"listType"`

	// Type of content in the managed list
	ManagedListType *string `mandatory:"true" json:"managedListType"`

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

ConfigValue Details for a configuration value for a managed list.

func (ConfigValue) String ¶

func (m ConfigValue) String() string

func (ConfigValue) ValidateEnumValue ¶

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

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

type Configuration ¶

type Configuration struct {

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

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

	// List of service configurations for this tenant
	ServiceConfigurations []ServiceConfiguration `mandatory:"false" json:"serviceConfigurations"`

	// Were Oracle-managed resources created by customer?
	SelfManageResources *bool `mandatory:"false" json:"selfManageResources"`
}

Configuration Specifies several key settings for a Cloud Guard tenancy, identified by tenancy root compartment OCID.

func (Configuration) String ¶

func (m Configuration) String() string

func (*Configuration) UnmarshalJSON ¶ added in v65.64.0

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

UnmarshalJSON unmarshals from json

func (Configuration) ValidateEnumValue ¶

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

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

type ConfigurationLifecycleStateEnum ¶ added in v65.64.0

type ConfigurationLifecycleStateEnum string

ConfigurationLifecycleStateEnum Enum with underlying type: string

const (
	ConfigurationLifecycleStateEnabled  ConfigurationLifecycleStateEnum = "ENABLED"
	ConfigurationLifecycleStateDisabled ConfigurationLifecycleStateEnum = "DISABLED"
)

Set of constants representing the allowable values for ConfigurationLifecycleStateEnum

func GetConfigurationLifecycleStateEnumValues ¶ added in v65.64.0

func GetConfigurationLifecycleStateEnumValues() []ConfigurationLifecycleStateEnum

GetConfigurationLifecycleStateEnumValues Enumerates the set of values for ConfigurationLifecycleStateEnum

func GetMappingConfigurationLifecycleStateEnum ¶ added in v65.64.0

func GetMappingConfigurationLifecycleStateEnum(val string) (ConfigurationLifecycleStateEnum, bool)

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

type ConfigurationListItemTypeEnum ¶

type ConfigurationListItemTypeEnum string

ConfigurationListItemTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConfigurationListItemTypeEnum

func GetConfigurationListItemTypeEnumValues ¶

func GetConfigurationListItemTypeEnumValues() []ConfigurationListItemTypeEnum

GetConfigurationListItemTypeEnumValues Enumerates the set of values for ConfigurationListItemTypeEnum

func GetMappingConfigurationListItemTypeEnum ¶

func GetMappingConfigurationListItemTypeEnum(val string) (ConfigurationListItemTypeEnum, bool)

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

type ContinuousQueryStartPolicy ¶ added in v65.17.0

type ContinuousQueryStartPolicy interface {
}

ContinuousQueryStartPolicy Start policy for continuous query

type ContinuousQueryStartPolicyStartPolicyTypeEnum ¶ added in v65.17.0

type ContinuousQueryStartPolicyStartPolicyTypeEnum string

ContinuousQueryStartPolicyStartPolicyTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ContinuousQueryStartPolicyStartPolicyTypeEnum

func GetContinuousQueryStartPolicyStartPolicyTypeEnumValues ¶ added in v65.17.0

func GetContinuousQueryStartPolicyStartPolicyTypeEnumValues() []ContinuousQueryStartPolicyStartPolicyTypeEnum

GetContinuousQueryStartPolicyStartPolicyTypeEnumValues Enumerates the set of values for ContinuousQueryStartPolicyStartPolicyTypeEnum

func GetMappingContinuousQueryStartPolicyStartPolicyTypeEnum ¶ added in v65.17.0

func GetMappingContinuousQueryStartPolicyStartPolicyTypeEnum(val string) (ContinuousQueryStartPolicyStartPolicyTypeEnum, bool)

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

type CreateAdhocQueryDetails ¶ added in v65.64.0

type CreateAdhocQueryDetails struct {

	// Compartment OCID of adhoc query
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	AdhocQueryDetails *AdhocQueryDetails `mandatory:"true" json:"adhocQueryDetails"`

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

CreateAdhocQueryDetails Details for creating adhoc query.

func (CreateAdhocQueryDetails) String ¶ added in v65.64.0

func (m CreateAdhocQueryDetails) String() string

func (CreateAdhocQueryDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type CreateAdhocQueryRequest ¶ added in v65.64.0

type CreateAdhocQueryRequest struct {

	// Details for the new AdhocQuery resource
	CreateAdhocQueryDetails `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
}

CreateAdhocQueryRequest wrapper for the CreateAdhocQuery operation

See also ¶

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

func (CreateAdhocQueryRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (CreateAdhocQueryRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (CreateAdhocQueryRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (CreateAdhocQueryRequest) String ¶ added in v65.64.0

func (request CreateAdhocQueryRequest) String() string

func (CreateAdhocQueryRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type CreateAdhocQueryResponse ¶ added in v65.64.0

type CreateAdhocQueryResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

CreateAdhocQueryResponse wrapper for the CreateAdhocQuery operation

func (CreateAdhocQueryResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (CreateAdhocQueryResponse) String ¶ added in v65.64.0

func (response CreateAdhocQueryResponse) String() string

type CreateDataMaskRuleDetails ¶

type CreateDataMaskRuleDetails struct {

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

	// Compartment OCID 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 categories
	DataMaskCategories []DataMaskCategoryEnum `mandatory:"true" json:"dataMaskCategories"`

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

	// The current status of the data mask rule
	DataMaskRuleStatus DataMaskRuleStatusEnum `mandatory:"false" json:"dataMaskRuleStatus,omitempty"`

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

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

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

CreateDataMaskRuleDetails Parameters to us to create a new data mask rule.

func (CreateDataMaskRuleDetails) String ¶

func (m CreateDataMaskRuleDetails) String() string

func (*CreateDataMaskRuleDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (CreateDataMaskRuleDetails) ValidateEnumValue ¶

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

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

type CreateDataMaskRuleRequest ¶

type CreateDataMaskRuleRequest struct {

	// Definition for the new data mask rule
	CreateDataMaskRuleDetails `contributesTo:"body"`

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

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

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

CreateDataMaskRuleRequest wrapper for the CreateDataMaskRule operation

See also ¶

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

func (CreateDataMaskRuleRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateDataMaskRuleRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateDataMaskRuleRequest) RetryPolicy ¶

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

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

func (CreateDataMaskRuleRequest) String ¶

func (request CreateDataMaskRuleRequest) String() string

func (CreateDataMaskRuleRequest) ValidateEnumValue ¶

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

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

type CreateDataMaskRuleResponse ¶

type CreateDataMaskRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateDataMaskRuleResponse wrapper for the CreateDataMaskRule operation

func (CreateDataMaskRuleResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateDataMaskRuleResponse) String ¶

func (response CreateDataMaskRuleResponse) String() string

type CreateDataSourceDetails ¶ added in v65.17.0

type CreateDataSourceDetails struct {

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

	// Compartment OCID of the data source
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Type of data source feed provider (LoggingQuery)
	DataSourceFeedProvider DataSourceFeedProviderEnum `mandatory:"true" json:"dataSourceFeedProvider"`

	// Enablement status of data source.
	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"`
}

CreateDataSourceDetails Parameters for creating a data source (DataSource resource).

func (CreateDataSourceDetails) String ¶ added in v65.17.0

func (m CreateDataSourceDetails) String() string

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

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

UnmarshalJSON unmarshals from json

func (CreateDataSourceDetails) ValidateEnumValue ¶ added in v65.17.0

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

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

type CreateDataSourceRequest ¶ added in v65.17.0

type CreateDataSourceRequest struct {

	// Details for the new DataSource resource
	CreateDataSourceDetails `contributesTo:"body"`

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

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

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

CreateDataSourceRequest wrapper for the CreateDataSource operation

See also ¶

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

func (CreateDataSourceRequest) BinaryRequestBody ¶ added in v65.17.0

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

BinaryRequestBody implements the OCIRequest interface

func (CreateDataSourceRequest) HTTPRequest ¶ added in v65.17.0

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

HTTPRequest implements the OCIRequest interface

func (CreateDataSourceRequest) RetryPolicy ¶ added in v65.17.0

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

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

func (CreateDataSourceRequest) String ¶ added in v65.17.0

func (request CreateDataSourceRequest) String() string

func (CreateDataSourceRequest) ValidateEnumValue ¶ added in v65.17.0

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

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

type CreateDataSourceResponse ¶ added in v65.17.0

type CreateDataSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

CreateDataSourceResponse wrapper for the CreateDataSource operation

func (CreateDataSourceResponse) HTTPResponse ¶ added in v65.17.0

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

HTTPResponse implements the OCIResponse interface

func (CreateDataSourceResponse) String ¶ added in v65.17.0

func (response CreateDataSourceResponse) String() string

type CreateDetectorRecipeDetails ¶

type CreateDetectorRecipeDetails struct {

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

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

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

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

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

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

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

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

CreateDetectorRecipeDetails Parameters to use to create details for a detector recipe.

func (CreateDetectorRecipeDetails) String ¶

func (CreateDetectorRecipeDetails) ValidateEnumValue ¶

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

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

type CreateDetectorRecipeDetectorRuleDetails ¶ added in v65.17.0

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

CreateDetectorRecipeDetectorRuleDetails Parameters to use to create details in a detector rule in a detector recipe.

func (CreateDetectorRecipeDetectorRuleDetails) String ¶ added in v65.17.0

func (CreateDetectorRecipeDetectorRuleDetails) ValidateEnumValue ¶ added in v65.17.0

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

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

type CreateDetectorRecipeDetectorRuleRequest ¶ added in v65.17.0

type CreateDetectorRecipeDetectorRuleRequest struct {

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

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

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

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

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

CreateDetectorRecipeDetectorRuleRequest wrapper for the CreateDetectorRecipeDetectorRule operation

See also ¶

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

func (CreateDetectorRecipeDetectorRuleRequest) BinaryRequestBody ¶ added in v65.17.0

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

BinaryRequestBody implements the OCIRequest interface

func (CreateDetectorRecipeDetectorRuleRequest) HTTPRequest ¶ added in v65.17.0

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

HTTPRequest implements the OCIRequest interface

func (CreateDetectorRecipeDetectorRuleRequest) RetryPolicy ¶ added in v65.17.0

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

func (CreateDetectorRecipeDetectorRuleRequest) String ¶ added in v65.17.0

func (CreateDetectorRecipeDetectorRuleRequest) ValidateEnumValue ¶ added in v65.17.0

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

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

type CreateDetectorRecipeDetectorRuleResponse ¶ added in v65.17.0

type CreateDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateDetectorRecipeDetectorRuleResponse wrapper for the CreateDetectorRecipeDetectorRule operation

func (CreateDetectorRecipeDetectorRuleResponse) HTTPResponse ¶ added in v65.17.0

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

HTTPResponse implements the OCIResponse interface

func (CreateDetectorRecipeDetectorRuleResponse) String ¶ added in v65.17.0

type CreateDetectorRecipeRequest ¶

type CreateDetectorRecipeRequest struct {

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

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

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

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

CreateDetectorRecipeRequest wrapper for the CreateDetectorRecipe operation

See also ¶

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

func (CreateDetectorRecipeRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateDetectorRecipeRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateDetectorRecipeRequest) RetryPolicy ¶

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

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

func (CreateDetectorRecipeRequest) String ¶

func (request CreateDetectorRecipeRequest) String() string

func (CreateDetectorRecipeRequest) ValidateEnumValue ¶

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

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

type CreateDetectorRecipeResponse ¶

type CreateDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateDetectorRecipeResponse wrapper for the CreateDetectorRecipe operation

func (CreateDetectorRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateDetectorRecipeResponse) String ¶

func (response CreateDetectorRecipeResponse) String() string

type CreateDetectorRuleDetails ¶ added in v65.17.0

type CreateDetectorRuleDetails struct {

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

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

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

	// Enablement state of the detector rule
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// The risk level for the detector rule
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// List of detector rule configurations
	Configurations []DetectorConfiguration `mandatory:"false" json:"configurations"`

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

	// User-defined labels for the detector rule
	Labels []string `mandatory:"false" json:"labels"`

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

	// OCID of the data source which is attached
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data source entities mapping for the detector rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`
}

CreateDetectorRuleDetails Details of a detector rule to be created in a detector recipe.

func (CreateDetectorRuleDetails) String ¶ added in v65.17.0

func (m CreateDetectorRuleDetails) String() string

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

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

UnmarshalJSON unmarshals from json

func (CreateDetectorRuleDetails) ValidateEnumValue ¶ added in v65.17.0

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

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

type CreateManagedListDetails ¶

type CreateManagedListDetails struct {

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

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

	// OCID of the source managed list
	SourceManagedListId *string `mandatory:"false" json:"sourceManagedListId"`

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

	// Type of information stored in the list
	ListType ManagedListTypeEnum `mandatory:"false" json:"listType,omitempty"`

	// List of items in the managed list
	ListItems []string `mandatory:"false" json:"listItems"`

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

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

CreateManagedListDetails Parameters to use to create details for a new managed list.

func (CreateManagedListDetails) String ¶

func (m CreateManagedListDetails) String() string

func (CreateManagedListDetails) ValidateEnumValue ¶

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

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

type CreateManagedListRequest ¶

type CreateManagedListRequest struct {

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

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

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

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

CreateManagedListRequest wrapper for the CreateManagedList operation

See also ¶

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

func (CreateManagedListRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateManagedListRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateManagedListRequest) RetryPolicy ¶

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

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

func (CreateManagedListRequest) String ¶

func (request CreateManagedListRequest) String() string

func (CreateManagedListRequest) ValidateEnumValue ¶

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

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

type CreateManagedListResponse ¶

type CreateManagedListResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateManagedListResponse wrapper for the CreateManagedList operation

func (CreateManagedListResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateManagedListResponse) String ¶

func (response CreateManagedListResponse) String() string

type CreateResponderRecipeDetails ¶

type CreateResponderRecipeDetails struct {

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

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

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

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

	// List of responder rules to override from source responder recipe
	ResponderRules []UpdateResponderRecipeResponderRule `mandatory:"false" json:"responderRules"`

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

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

CreateResponderRecipeDetails Parameters for creating a responder recipe.

func (CreateResponderRecipeDetails) String ¶

func (CreateResponderRecipeDetails) ValidateEnumValue ¶

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

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

type CreateResponderRecipeRequest ¶

type CreateResponderRecipeRequest struct {

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

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

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

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

CreateResponderRecipeRequest wrapper for the CreateResponderRecipe operation

See also ¶

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

func (CreateResponderRecipeRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateResponderRecipeRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateResponderRecipeRequest) RetryPolicy ¶

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

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

func (CreateResponderRecipeRequest) String ¶

func (request CreateResponderRecipeRequest) String() string

func (CreateResponderRecipeRequest) ValidateEnumValue ¶

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

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

type CreateResponderRecipeResponse ¶

type CreateResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateResponderRecipeResponse wrapper for the CreateResponderRecipe operation

func (CreateResponderRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateResponderRecipeResponse) String ¶

func (response CreateResponderRecipeResponse) String() string

type CreateSavedQueryDetails ¶ added in v65.64.0

type CreateSavedQueryDetails struct {

	// Display name of the saved query
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment OCID of the saved query
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The adhoc query expression that is run
	Query *string `mandatory:"true" json:"query"`

	// Description of the saved query
	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"`
}

CreateSavedQueryDetails Details of query to be saved

func (CreateSavedQueryDetails) String ¶ added in v65.64.0

func (m CreateSavedQueryDetails) String() string

func (CreateSavedQueryDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type CreateSavedQueryRequest ¶ added in v65.64.0

type CreateSavedQueryRequest struct {

	// Details for the new SavedQuery resource
	CreateSavedQueryDetails `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
}

CreateSavedQueryRequest wrapper for the CreateSavedQuery operation

See also ¶

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

func (CreateSavedQueryRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (CreateSavedQueryRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (CreateSavedQueryRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (CreateSavedQueryRequest) String ¶ added in v65.64.0

func (request CreateSavedQueryRequest) String() string

func (CreateSavedQueryRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type CreateSavedQueryResponse ¶ added in v65.64.0

type CreateSavedQueryResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

CreateSavedQueryResponse wrapper for the CreateSavedQuery operation

func (CreateSavedQueryResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (CreateSavedQueryResponse) String ¶ added in v65.64.0

func (response CreateSavedQueryResponse) String() string

type CreateSecurityPolicyDetails ¶ added in v65.3.0

type CreateSecurityPolicyDetails struct {

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

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

	// Short version of security policy name
	FriendlyName *string `mandatory:"false" json:"friendlyName"`

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

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

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

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

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

CreateSecurityPolicyDetails Parameters to be used to create a new security policy.

func (CreateSecurityPolicyDetails) String ¶ added in v65.3.0

func (CreateSecurityPolicyDetails) ValidateEnumValue ¶ added in v65.3.0

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

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

type CreateSecurityRecipeDetails ¶ added in v65.3.0

type CreateSecurityRecipeDetails struct {

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

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

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

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

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

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

CreateSecurityRecipeDetails Parameters to be used to create a security recipe.

func (CreateSecurityRecipeDetails) String ¶ added in v65.3.0

func (CreateSecurityRecipeDetails) ValidateEnumValue ¶ added in v65.3.0

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

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

type CreateSecurityRecipeRequest ¶ added in v65.3.0

type CreateSecurityRecipeRequest struct {

	// Details for the new `SecurityRecipe` resource
	CreateSecurityRecipeDetails `contributesTo:"body"`

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

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

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

CreateSecurityRecipeRequest wrapper for the CreateSecurityRecipe operation

See also ¶

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

func (CreateSecurityRecipeRequest) BinaryRequestBody ¶ added in v65.3.0

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

BinaryRequestBody implements the OCIRequest interface

func (CreateSecurityRecipeRequest) HTTPRequest ¶ added in v65.3.0

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

HTTPRequest implements the OCIRequest interface

func (CreateSecurityRecipeRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (CreateSecurityRecipeRequest) String ¶ added in v65.3.0

func (request CreateSecurityRecipeRequest) String() string

func (CreateSecurityRecipeRequest) ValidateEnumValue ¶ added in v65.3.0

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

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

type CreateSecurityRecipeResponse ¶ added in v65.3.0

type CreateSecurityRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateSecurityRecipeResponse wrapper for the CreateSecurityRecipe operation

func (CreateSecurityRecipeResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (CreateSecurityRecipeResponse) String ¶ added in v65.3.0

func (response CreateSecurityRecipeResponse) String() string

type CreateSecurityZoneDetails ¶ added in v65.3.0

type CreateSecurityZoneDetails struct {

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

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

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

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

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

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

CreateSecurityZoneDetails Parameters to be used to create a new security zone.

func (CreateSecurityZoneDetails) String ¶ added in v65.3.0

func (m CreateSecurityZoneDetails) String() string

func (CreateSecurityZoneDetails) ValidateEnumValue ¶ added in v65.3.0

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

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

type CreateSecurityZoneRequest ¶ added in v65.3.0

type CreateSecurityZoneRequest struct {

	// Details for the new `SecurityZone` resource
	CreateSecurityZoneDetails `contributesTo:"body"`

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

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

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

CreateSecurityZoneRequest wrapper for the CreateSecurityZone operation

See also ¶

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

func (CreateSecurityZoneRequest) BinaryRequestBody ¶ added in v65.3.0

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

BinaryRequestBody implements the OCIRequest interface

func (CreateSecurityZoneRequest) HTTPRequest ¶ added in v65.3.0

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

HTTPRequest implements the OCIRequest interface

func (CreateSecurityZoneRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (CreateSecurityZoneRequest) String ¶ added in v65.3.0

func (request CreateSecurityZoneRequest) String() string

func (CreateSecurityZoneRequest) ValidateEnumValue ¶ added in v65.3.0

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

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

type CreateSecurityZoneResponse ¶ added in v65.3.0

type CreateSecurityZoneResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateSecurityZoneResponse wrapper for the CreateSecurityZone operation

func (CreateSecurityZoneResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (CreateSecurityZoneResponse) String ¶ added in v65.3.0

func (response CreateSecurityZoneResponse) String() string

type CreateTargetDetails ¶

type CreateTargetDetails struct {

	// Display name for the target.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// Type of resource that target support (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 attach to target
	TargetDetectorRecipes []CreateTargetDetectorRecipeDetails `mandatory:"false" json:"targetDetectorRecipes"`

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

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

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

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

CreateTargetDetails Parameters used to create a new target.

func (CreateTargetDetails) String ¶

func (m CreateTargetDetails) String() string

func (CreateTargetDetails) ValidateEnumValue ¶

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

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

type CreateTargetDetectorRecipeDetails ¶

type CreateTargetDetectorRecipeDetails struct {

	// Unique identifier for the target detector recipe
	DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"`

	// List of overrides to be applied to detector rules associated with the target
	DetectorRules []UpdateTargetRecipeDetectorRuleDetails `mandatory:"false" json:"detectorRules"`
}

CreateTargetDetectorRecipeDetails Parameters to use to create a target detector recipe.

func (CreateTargetDetectorRecipeDetails) String ¶

func (CreateTargetDetectorRecipeDetails) ValidateEnumValue ¶

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

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

type CreateTargetDetectorRecipeRequest ¶

type CreateTargetDetectorRecipeRequest struct {

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

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

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

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

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

CreateTargetDetectorRecipeRequest wrapper for the CreateTargetDetectorRecipe operation

See also ¶

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

func (CreateTargetDetectorRecipeRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateTargetDetectorRecipeRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateTargetDetectorRecipeRequest) RetryPolicy ¶

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

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

func (CreateTargetDetectorRecipeRequest) String ¶

func (request CreateTargetDetectorRecipeRequest) String() string

func (CreateTargetDetectorRecipeRequest) ValidateEnumValue ¶

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

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

type CreateTargetDetectorRecipeResponse ¶

type CreateTargetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateTargetDetectorRecipeResponse wrapper for the CreateTargetDetectorRecipe operation

func (CreateTargetDetectorRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateTargetDetectorRecipeResponse) String ¶

func (response CreateTargetDetectorRecipeResponse) String() string

type CreateTargetRequest ¶

type CreateTargetRequest struct {

	// Contains generic target information which is required for all target types
	CreateTargetDetails `contributesTo:"body"`

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

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

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

CreateTargetRequest wrapper for the CreateTarget operation

See also ¶

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

func (CreateTargetRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateTargetRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateTargetRequest) RetryPolicy ¶

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

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

func (CreateTargetRequest) String ¶

func (request CreateTargetRequest) String() string

func (CreateTargetRequest) ValidateEnumValue ¶

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

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

type CreateTargetResponderRecipeDetails ¶

type CreateTargetResponderRecipeDetails struct {

	// Unique identifier for responder recipe
	ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"`

	// List of overrides to be applied to responder rules associated with the target
	ResponderRules []UpdateTargetRecipeResponderRuleDetails `mandatory:"false" json:"responderRules"`
}

CreateTargetResponderRecipeDetails Parameters to be used to create a new target responder recipe (TargetDetectorRecipe resource).

func (CreateTargetResponderRecipeDetails) String ¶

func (CreateTargetResponderRecipeDetails) ValidateEnumValue ¶

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

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

type CreateTargetResponderRecipeRequest ¶

type CreateTargetResponderRecipeRequest struct {

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

	// Details for attaching a responder recipe to a target
	AttachTargetResponderRecipeDetails `contributesTo:"body"`

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

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

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

CreateTargetResponderRecipeRequest wrapper for the CreateTargetResponderRecipe operation

See also ¶

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

func (CreateTargetResponderRecipeRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateTargetResponderRecipeRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateTargetResponderRecipeRequest) RetryPolicy ¶

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

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

func (CreateTargetResponderRecipeRequest) String ¶

func (request CreateTargetResponderRecipeRequest) String() string

func (CreateTargetResponderRecipeRequest) ValidateEnumValue ¶

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

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

type CreateTargetResponderRecipeResponse ¶

type CreateTargetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateTargetResponderRecipeResponse wrapper for the CreateTargetResponderRecipe operation

func (CreateTargetResponderRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateTargetResponderRecipeResponse) String ¶

func (response CreateTargetResponderRecipeResponse) String() string

type CreateTargetResponse ¶

type CreateTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Target instance
	Target `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateTargetResponse wrapper for the CreateTarget operation

func (CreateTargetResponse) HTTPResponse ¶

func (response CreateTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateTargetResponse) String ¶

func (response CreateTargetResponse) String() string

type CreateWlpAgentDetails ¶ added in v65.64.0

type CreateWlpAgentDetails struct {

	// Compartment OCID of the host
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The version of the agent making the request
	AgentVersion *string `mandatory:"true" json:"agentVersion"`

	// The certificate signed request containing domain, organization names, organization units, city, state, country, email and public key, among other certificate details, signed by private key
	CertificateSignedRequest *string `mandatory:"true" json:"certificateSignedRequest"`

	// Concatenated OS name, OS version and agent architecture; for example, ubuntu_22.0_amd64.
	OsInfo *string `mandatory:"true" json:"osInfo"`

	// 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"`
}

CreateWlpAgentDetails On-premise resource agent registration request resource. Example: `{"compartmentId": "ocid1.compartment.oc1..exampleawwcufihrc62gpbcvbjizswgoj4w7rg5q4fwbg2fauxvlcxbtliaa",

"agentVersion": "1.0.11",
"certificateSignedRequest": "MIIGwjCCBaqgAwIBAgIVAK8hJCS/5Hu0dEMQ2ud"}`

func (CreateWlpAgentDetails) String ¶ added in v65.64.0

func (m CreateWlpAgentDetails) String() string

func (CreateWlpAgentDetails) ValidateEnumValue ¶ added in v65.64.0

func (m CreateWlpAgentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateWlpAgentRequest ¶ added in v65.64.0

type CreateWlpAgentRequest struct {

	// Details for the WLP agent to be created
	CreateWlpAgentDetails `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
}

CreateWlpAgentRequest wrapper for the CreateWlpAgent operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateWlpAgent.go.html to see an example of how to use CreateWlpAgentRequest.

func (CreateWlpAgentRequest) BinaryRequestBody ¶ added in v65.64.0

func (request CreateWlpAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateWlpAgentRequest) HTTPRequest ¶ added in v65.64.0

func (request CreateWlpAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateWlpAgentRequest) RetryPolicy ¶ added in v65.64.0

func (request CreateWlpAgentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateWlpAgentRequest) String ¶ added in v65.64.0

func (request CreateWlpAgentRequest) String() string

func (CreateWlpAgentRequest) ValidateEnumValue ¶ added in v65.64.0

func (request CreateWlpAgentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateWlpAgentResponse ¶ added in v65.64.0

type CreateWlpAgentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WlpAgent instance
	WlpAgent `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"`
}

CreateWlpAgentResponse wrapper for the CreateWlpAgent operation

func (CreateWlpAgentResponse) HTTPResponse ¶ added in v65.64.0

func (response CreateWlpAgentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateWlpAgentResponse) String ¶ added in v65.64.0

func (response CreateWlpAgentResponse) String() string

type CveRiskLevelEnum ¶ added in v65.64.0

type CveRiskLevelEnum string

CveRiskLevelEnum Enum with underlying type: string

const (
	CveRiskLevelCritical CveRiskLevelEnum = "CRITICAL"
	CveRiskLevelHigh     CveRiskLevelEnum = "HIGH"
	CveRiskLevelMedium   CveRiskLevelEnum = "MEDIUM"
	CveRiskLevelLow      CveRiskLevelEnum = "LOW"
	CveRiskLevelMinor    CveRiskLevelEnum = "MINOR"
	CveRiskLevelNone     CveRiskLevelEnum = "NONE"
)

Set of constants representing the allowable values for CveRiskLevelEnum

func GetCveRiskLevelEnumValues ¶ added in v65.64.0

func GetCveRiskLevelEnumValues() []CveRiskLevelEnum

GetCveRiskLevelEnumValues Enumerates the set of values for CveRiskLevelEnum

func GetMappingCveRiskLevelEnum ¶ added in v65.64.0

func GetMappingCveRiskLevelEnum(val string) (CveRiskLevelEnum, bool)

GetMappingCveRiskLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type DataMaskCategoryEnum ¶

type DataMaskCategoryEnum string

DataMaskCategoryEnum Enum with underlying type: string

const (
	DataMaskCategoryActor     DataMaskCategoryEnum = "ACTOR"
	DataMaskCategoryPii       DataMaskCategoryEnum = "PII"
	DataMaskCategoryPhi       DataMaskCategoryEnum = "PHI"
	DataMaskCategoryFinancial DataMaskCategoryEnum = "FINANCIAL"
	DataMaskCategoryLocation  DataMaskCategoryEnum = "LOCATION"
	DataMaskCategoryCustom    DataMaskCategoryEnum = "CUSTOM"
)

Set of constants representing the allowable values for DataMaskCategoryEnum

func GetDataMaskCategoryEnumValues ¶

func GetDataMaskCategoryEnumValues() []DataMaskCategoryEnum

GetDataMaskCategoryEnumValues Enumerates the set of values for DataMaskCategoryEnum

func GetMappingDataMaskCategoryEnum ¶

func GetMappingDataMaskCategoryEnum(val string) (DataMaskCategoryEnum, bool)

GetMappingDataMaskCategoryEnum performs case Insensitive comparison on enum value and return the desired enum

type DataMaskRule ¶

type DataMaskRule struct {

	// Unique identifier that can't be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID 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 display name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The data mask rule description
	Description *string `mandatory:"false" json:"description"`

	// List of data mask rule 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 current status of the data mask rule
	DataMaskRuleStatus DataMaskRuleStatusEnum `mandatory:"false" json:"dataMaskRuleStatus,omitempty"`

	// The current lifecycle state of the data mask rule
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Additional details on the substate of the lifecycle state [DEPRECATE]
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

DataMaskRule 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 resource contains the parameters for a data mask rule.

func (DataMaskRule) String ¶

func (m DataMaskRule) String() string

func (*DataMaskRule) UnmarshalJSON ¶

func (m *DataMaskRule) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DataMaskRule) ValidateEnumValue ¶

func (m DataMaskRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataMaskRuleCollection ¶

type DataMaskRuleCollection struct {

	// List of DataMaskRuleSummary resources
	Items []DataMaskRuleSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

DataMaskRuleCollection Collection of data mask rules.

func (DataMaskRuleCollection) String ¶

func (m DataMaskRuleCollection) String() string

func (DataMaskRuleCollection) ValidateEnumValue ¶

func (m DataMaskRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataMaskRuleStatusEnum ¶

type DataMaskRuleStatusEnum string

DataMaskRuleStatusEnum Enum with underlying type: string

const (
	DataMaskRuleStatusEnabled  DataMaskRuleStatusEnum = "ENABLED"
	DataMaskRuleStatusDisabled DataMaskRuleStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for DataMaskRuleStatusEnum

func GetDataMaskRuleStatusEnumValues ¶

func GetDataMaskRuleStatusEnumValues() []DataMaskRuleStatusEnum

GetDataMaskRuleStatusEnumValues Enumerates the set of values for DataMaskRuleStatusEnum

func GetMappingDataMaskRuleStatusEnum ¶

func GetMappingDataMaskRuleStatusEnum(val string) (DataMaskRuleStatusEnum, bool)

GetMappingDataMaskRuleStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type DataMaskRuleSummary ¶

type DataMaskRuleSummary struct {

	// Unique identifier that can't be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID 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 display name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The data mask rule description
	Description *string `mandatory:"false" json:"description"`

	// List of data mask rule 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 current status of the data mask rule
	DataMaskRuleStatus DataMaskRuleStatusEnum `mandatory:"false" json:"dataMaskRuleStatus,omitempty"`

	// The current lifecycle state of the data mask 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. [DEPRECATE]
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

DataMaskRuleSummary Summary information for a data mask rule.

func (DataMaskRuleSummary) String ¶

func (m DataMaskRuleSummary) String() string

func (*DataMaskRuleSummary) UnmarshalJSON ¶

func (m *DataMaskRuleSummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DataMaskRuleSummary) ValidateEnumValue ¶

func (m DataMaskRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSource ¶ added in v65.17.0

type DataSource struct {

	// OCID for the data source
	Id *string `mandatory:"true" json:"id"`

	// Display name of the data source
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Possible type of dataSourceFeed Provider(LoggingQuery)
	DataSourceFeedProvider DataSourceFeedProviderEnum `mandatory:"true" json:"dataSourceFeedProvider"`

	// Compartment OCID 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"`

	// Enablement status of the 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 lifecycle state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

DataSource Detailed information for a data source (DataSource resource).

func (DataSource) String ¶ added in v65.17.0

func (m DataSource) String() string

func (*DataSource) UnmarshalJSON ¶ added in v65.17.0

func (m *DataSource) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DataSource) ValidateEnumValue ¶ added in v65.17.0

func (m DataSource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSourceCollection ¶ added in v65.17.0

type DataSourceCollection struct {

	// List of data source summaries (DataSourceSummary resources)
	Items []DataSourceSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

DataSourceCollection The collection of data source summaries (DataSourceSummary resources).

func (DataSourceCollection) String ¶ added in v65.17.0

func (m DataSourceCollection) String() string

func (DataSourceCollection) ValidateEnumValue ¶ added in v65.17.0

func (m DataSourceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSourceDetails ¶ added in v65.17.0

type DataSourceDetails interface {
}

DataSourceDetails Details specific to the data source type.

type DataSourceEventCollection ¶ added in v65.17.0

type DataSourceEventCollection struct {

	// List of events related to a data source
	Items []DataSourceEventSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

DataSourceEventCollection The collection of events related to a data source.

func (DataSourceEventCollection) String ¶ added in v65.17.0

func (m DataSourceEventCollection) String() string

func (DataSourceEventCollection) ValidateEnumValue ¶ added in v65.17.0

func (m DataSourceEventCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSourceEventInfo ¶ added in v65.17.0

type DataSourceEventInfo interface {
}

DataSourceEventInfo This resource can have multiple subtypes, depending on the dataSourceFeedProvider value. For example, if dataSourceFeedProvider is LOGGINGQUERY, this resource will be of type LoggingEventInfo.

type DataSourceEventInfoStatusEnum ¶ added in v65.17.0

type DataSourceEventInfoStatusEnum string

DataSourceEventInfoStatusEnum Enum with underlying type: string

const (
	DataSourceEventInfoStatusSuccess DataSourceEventInfoStatusEnum = "SUCCESS"
	DataSourceEventInfoStatusFailure DataSourceEventInfoStatusEnum = "FAILURE"
)

Set of constants representing the allowable values for DataSourceEventInfoStatusEnum

func GetDataSourceEventInfoStatusEnumValues ¶ added in v65.17.0

func GetDataSourceEventInfoStatusEnumValues() []DataSourceEventInfoStatusEnum

GetDataSourceEventInfoStatusEnumValues Enumerates the set of values for DataSourceEventInfoStatusEnum

func GetMappingDataSourceEventInfoStatusEnum ¶ added in v65.17.0

func GetMappingDataSourceEventInfoStatusEnum(val string) (DataSourceEventInfoStatusEnum, bool)

GetMappingDataSourceEventInfoStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type DataSourceEventSummary ¶ added in v65.17.0

type DataSourceEventSummary struct {

	// Data source event region
	Region *string `mandatory:"true" json:"region"`

	// Data source event date and time
	EventDate *common.SDKTime `mandatory:"true" json:"eventDate"`

	// Unique identifier of data source.
	DataSourceId *string `mandatory:"true" json:"dataSourceId"`

	// Data source event creation date and time
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	EventInfo DataSourceEventInfo `mandatory:"true" json:"eventInfo"`

	// Current data source event info status
	Status DataSourceEventInfoStatusEnum `mandatory:"false" json:"status,omitempty"`

	// Data source event comments
	Comments *string `mandatory:"false" json:"comments"`
}

DataSourceEventSummary Summary information about a data source event.

func (DataSourceEventSummary) String ¶ added in v65.17.0

func (m DataSourceEventSummary) String() string

func (*DataSourceEventSummary) UnmarshalJSON ¶ added in v65.17.0

func (m *DataSourceEventSummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DataSourceEventSummary) ValidateEnumValue ¶ added in v65.17.0

func (m DataSourceEventSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSourceFeedProviderEnum ¶ added in v65.17.0

type DataSourceFeedProviderEnum string

DataSourceFeedProviderEnum Enum with underlying type: string

const (
	DataSourceFeedProviderLoggingquery   DataSourceFeedProviderEnum = "LOGGINGQUERY"
	DataSourceFeedProviderScheduledquery DataSourceFeedProviderEnum = "SCHEDULEDQUERY"
)

Set of constants representing the allowable values for DataSourceFeedProviderEnum

func GetDataSourceFeedProviderEnumValues ¶ added in v65.17.0

func GetDataSourceFeedProviderEnumValues() []DataSourceFeedProviderEnum

GetDataSourceFeedProviderEnumValues Enumerates the set of values for DataSourceFeedProviderEnum

func GetMappingDataSourceFeedProviderEnum ¶ added in v65.17.0

func GetMappingDataSourceFeedProviderEnum(val string) (DataSourceFeedProviderEnum, bool)

GetMappingDataSourceFeedProviderEnum performs case Insensitive comparison on enum value and return the desired enum

type DataSourceMappingInfo ¶ added in v65.17.0

type DataSourceMappingInfo struct {

	// ID of the detector recipe attached to the data source
	DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"`

	// ID of the detector rule attached to the data source
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`
}

DataSourceMappingInfo Details of the detector recipe and detector rule mapped to the data source.

func (DataSourceMappingInfo) String ¶ added in v65.17.0

func (m DataSourceMappingInfo) String() string

func (DataSourceMappingInfo) ValidateEnumValue ¶ added in v65.17.0

func (m DataSourceMappingInfo) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSourceStatusEnum ¶ added in v65.17.0

type DataSourceStatusEnum string

DataSourceStatusEnum Enum with underlying type: string

const (
	DataSourceStatusEnabled  DataSourceStatusEnum = "ENABLED"
	DataSourceStatusDisabled DataSourceStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for DataSourceStatusEnum

func GetDataSourceStatusEnumValues ¶ added in v65.17.0

func GetDataSourceStatusEnumValues() []DataSourceStatusEnum

GetDataSourceStatusEnumValues Enumerates the set of values for DataSourceStatusEnum

func GetMappingDataSourceStatusEnum ¶ added in v65.17.0

func GetMappingDataSourceStatusEnum(val string) (DataSourceStatusEnum, bool)

GetMappingDataSourceStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type DataSourceSummary ¶ added in v65.17.0

type DataSourceSummary struct {

	// OCID for the data source
	Id *string `mandatory:"true" json:"id"`

	// Display name of the data source
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Type of data source feed provider(LoggingQuery)
	DataSourceFeedProvider DataSourceFeedProviderEnum `mandatory:"true" json:"dataSourceFeedProvider"`

	// Compartment OCID of the 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 lifecycle state of the resource
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the `Failed` state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

DataSourceSummary Summary information for a specific data source.

func (DataSourceSummary) String ¶ added in v65.17.0

func (m DataSourceSummary) String() string

func (*DataSourceSummary) UnmarshalJSON ¶ added in v65.17.0

func (m *DataSourceSummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DataSourceSummary) ValidateEnumValue ¶ added in v65.17.0

func (m DataSourceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSourceSummaryDetails ¶ added in v65.17.0

type DataSourceSummaryDetails interface {
}

DataSourceSummaryDetails Summary information for a data source of a specified data source type.

type DeleteAdhocQueryRequest ¶ added in v65.64.0

type DeleteAdhocQueryRequest struct {

	// Adhoc query OCID.
	AdhocQueryId *string `mandatory:"true" contributesTo:"path" name:"adhocQueryId"`

	// 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
}

DeleteAdhocQueryRequest wrapper for the DeleteAdhocQuery operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteAdhocQuery.go.html to see an example of how to use DeleteAdhocQueryRequest.

func (DeleteAdhocQueryRequest) BinaryRequestBody ¶ added in v65.64.0

func (request DeleteAdhocQueryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteAdhocQueryRequest) HTTPRequest ¶ added in v65.64.0

func (request DeleteAdhocQueryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteAdhocQueryRequest) RetryPolicy ¶ added in v65.64.0

func (request DeleteAdhocQueryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteAdhocQueryRequest) String ¶ added in v65.64.0

func (request DeleteAdhocQueryRequest) String() string

func (DeleteAdhocQueryRequest) ValidateEnumValue ¶ added in v65.64.0

func (request DeleteAdhocQueryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteAdhocQueryResponse ¶ added in v65.64.0

type DeleteAdhocQueryResponse 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"`
}

DeleteAdhocQueryResponse wrapper for the DeleteAdhocQuery operation

func (DeleteAdhocQueryResponse) HTTPResponse ¶ added in v65.64.0

func (response DeleteAdhocQueryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteAdhocQueryResponse) String ¶ added in v65.64.0

func (response DeleteAdhocQueryResponse) String() string

type DeleteDataMaskRuleRequest ¶

type DeleteDataMaskRuleRequest struct {

	// OCID of the data mask rule
	DataMaskRuleId *string `mandatory:"true" contributesTo:"path" name:"dataMaskRuleId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteDataMaskRuleRequest wrapper for the DeleteDataMaskRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteDataMaskRule.go.html to see an example of how to use DeleteDataMaskRuleRequest.

func (DeleteDataMaskRuleRequest) BinaryRequestBody ¶

func (request DeleteDataMaskRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDataMaskRuleRequest) HTTPRequest ¶

func (request DeleteDataMaskRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDataMaskRuleRequest) RetryPolicy ¶

func (request DeleteDataMaskRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDataMaskRuleRequest) String ¶

func (request DeleteDataMaskRuleRequest) String() string

func (DeleteDataMaskRuleRequest) ValidateEnumValue ¶

func (request DeleteDataMaskRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDataMaskRuleResponse ¶

type DeleteDataMaskRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteDataMaskRuleResponse wrapper for the DeleteDataMaskRule operation

func (DeleteDataMaskRuleResponse) HTTPResponse ¶

func (response DeleteDataMaskRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDataMaskRuleResponse) String ¶

func (response DeleteDataMaskRuleResponse) String() string

type DeleteDataSourceRequest ¶ added in v65.17.0

type DeleteDataSourceRequest struct {

	// Data source OCID.
	DataSourceId *string `mandatory:"true" contributesTo:"path" name:"dataSourceId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteDataSourceRequest wrapper for the DeleteDataSource operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteDataSource.go.html to see an example of how to use DeleteDataSourceRequest.

func (DeleteDataSourceRequest) BinaryRequestBody ¶ added in v65.17.0

func (request DeleteDataSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDataSourceRequest) HTTPRequest ¶ added in v65.17.0

func (request DeleteDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDataSourceRequest) RetryPolicy ¶ added in v65.17.0

func (request DeleteDataSourceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDataSourceRequest) String ¶ added in v65.17.0

func (request DeleteDataSourceRequest) String() string

func (DeleteDataSourceRequest) ValidateEnumValue ¶ added in v65.17.0

func (request DeleteDataSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDataSourceResponse ¶ added in v65.17.0

type DeleteDataSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteDataSourceResponse wrapper for the DeleteDataSource operation

func (DeleteDataSourceResponse) HTTPResponse ¶ added in v65.17.0

func (response DeleteDataSourceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDataSourceResponse) String ¶ added in v65.17.0

func (response DeleteDataSourceResponse) String() string

type DeleteDetectorRecipeDetectorRuleDataSourceRequest ¶ added in v65.17.0

type DeleteDetectorRecipeDetectorRuleDataSourceRequest struct {

	// Detector recipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The unique identifier of a detector rule.
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// Data source OCID.
	DataSourceId *string `mandatory:"true" contributesTo:"path" name:"dataSourceId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteDetectorRecipeDetectorRuleDataSourceRequest wrapper for the DeleteDetectorRecipeDetectorRuleDataSource operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteDetectorRecipeDetectorRuleDataSource.go.html to see an example of how to use DeleteDetectorRecipeDetectorRuleDataSourceRequest.

func (DeleteDetectorRecipeDetectorRuleDataSourceRequest) BinaryRequestBody ¶ added in v65.17.0

BinaryRequestBody implements the OCIRequest interface

func (DeleteDetectorRecipeDetectorRuleDataSourceRequest) HTTPRequest ¶ added in v65.17.0

func (request DeleteDetectorRecipeDetectorRuleDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDetectorRecipeDetectorRuleDataSourceRequest) RetryPolicy ¶ added in v65.17.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDetectorRecipeDetectorRuleDataSourceRequest) String ¶ added in v65.17.0

func (DeleteDetectorRecipeDetectorRuleDataSourceRequest) ValidateEnumValue ¶ added in v65.17.0

func (request DeleteDetectorRecipeDetectorRuleDataSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDetectorRecipeDetectorRuleDataSourceResponse ¶ added in v65.17.0

type DeleteDetectorRecipeDetectorRuleDataSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteDetectorRecipeDetectorRuleDataSourceResponse wrapper for the DeleteDetectorRecipeDetectorRuleDataSource operation

func (DeleteDetectorRecipeDetectorRuleDataSourceResponse) HTTPResponse ¶ added in v65.17.0

HTTPResponse implements the OCIResponse interface

func (DeleteDetectorRecipeDetectorRuleDataSourceResponse) String ¶ added in v65.17.0

type DeleteDetectorRecipeDetectorRuleRequest ¶ added in v65.17.0

type DeleteDetectorRecipeDetectorRuleRequest struct {

	// Detector recipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The unique identifier of a detector rule.
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteDetectorRecipeDetectorRuleRequest wrapper for the DeleteDetectorRecipeDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteDetectorRecipeDetectorRule.go.html to see an example of how to use DeleteDetectorRecipeDetectorRuleRequest.

func (DeleteDetectorRecipeDetectorRuleRequest) BinaryRequestBody ¶ added in v65.17.0

func (request DeleteDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDetectorRecipeDetectorRuleRequest) HTTPRequest ¶ added in v65.17.0

func (request DeleteDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDetectorRecipeDetectorRuleRequest) RetryPolicy ¶ added in v65.17.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDetectorRecipeDetectorRuleRequest) String ¶ added in v65.17.0

func (DeleteDetectorRecipeDetectorRuleRequest) ValidateEnumValue ¶ added in v65.17.0

func (request DeleteDetectorRecipeDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDetectorRecipeDetectorRuleResponse ¶ added in v65.17.0

type DeleteDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteDetectorRecipeDetectorRuleResponse wrapper for the DeleteDetectorRecipeDetectorRule operation

func (DeleteDetectorRecipeDetectorRuleResponse) HTTPResponse ¶ added in v65.17.0

func (response DeleteDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDetectorRecipeDetectorRuleResponse) String ¶ added in v65.17.0

type DeleteDetectorRecipeRequest ¶

type DeleteDetectorRecipeRequest struct {

	// Detector recipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteDetectorRecipeRequest wrapper for the DeleteDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteDetectorRecipe.go.html to see an example of how to use DeleteDetectorRecipeRequest.

func (DeleteDetectorRecipeRequest) BinaryRequestBody ¶

func (request DeleteDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDetectorRecipeRequest) HTTPRequest ¶

func (request DeleteDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDetectorRecipeRequest) RetryPolicy ¶

func (request DeleteDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDetectorRecipeRequest) String ¶

func (request DeleteDetectorRecipeRequest) String() string

func (DeleteDetectorRecipeRequest) ValidateEnumValue ¶

func (request DeleteDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDetectorRecipeResponse ¶

type DeleteDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteDetectorRecipeResponse wrapper for the DeleteDetectorRecipe operation

func (DeleteDetectorRecipeResponse) HTTPResponse ¶

func (response DeleteDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDetectorRecipeResponse) String ¶

func (response DeleteDetectorRecipeResponse) String() string

type DeleteManagedListRequest ¶

type DeleteManagedListRequest struct {

	// The managed list OCID to be passed in the request.
	ManagedListId *string `mandatory:"true" contributesTo:"path" name:"managedListId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteManagedListRequest wrapper for the DeleteManagedList operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteManagedList.go.html to see an example of how to use DeleteManagedListRequest.

func (DeleteManagedListRequest) BinaryRequestBody ¶

func (request DeleteManagedListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteManagedListRequest) HTTPRequest ¶

func (request DeleteManagedListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteManagedListRequest) RetryPolicy ¶

func (request DeleteManagedListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteManagedListRequest) String ¶

func (request DeleteManagedListRequest) String() string

func (DeleteManagedListRequest) ValidateEnumValue ¶

func (request DeleteManagedListRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteManagedListResponse ¶

type DeleteManagedListResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteManagedListResponse wrapper for the DeleteManagedList operation

func (DeleteManagedListResponse) HTTPResponse ¶

func (response DeleteManagedListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteManagedListResponse) String ¶

func (response DeleteManagedListResponse) String() string

type DeleteResponderRecipeRequest ¶

type DeleteResponderRecipeRequest struct {

	// OCID of the responder recipe.
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteResponderRecipeRequest wrapper for the DeleteResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteResponderRecipe.go.html to see an example of how to use DeleteResponderRecipeRequest.

func (DeleteResponderRecipeRequest) BinaryRequestBody ¶

func (request DeleteResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteResponderRecipeRequest) HTTPRequest ¶

func (request DeleteResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteResponderRecipeRequest) RetryPolicy ¶

func (request DeleteResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteResponderRecipeRequest) String ¶

func (request DeleteResponderRecipeRequest) String() string

func (DeleteResponderRecipeRequest) ValidateEnumValue ¶

func (request DeleteResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteResponderRecipeResponse ¶

type DeleteResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteResponderRecipeResponse wrapper for the DeleteResponderRecipe operation

func (DeleteResponderRecipeResponse) HTTPResponse ¶

func (response DeleteResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteResponderRecipeResponse) String ¶

func (response DeleteResponderRecipeResponse) String() string

type DeleteSavedQueryRequest ¶ added in v65.64.0

type DeleteSavedQueryRequest struct {

	// Saved query OCID
	SavedQueryId *string `mandatory:"true" contributesTo:"path" name:"savedQueryId"`

	// 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
}

DeleteSavedQueryRequest wrapper for the DeleteSavedQuery operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteSavedQuery.go.html to see an example of how to use DeleteSavedQueryRequest.

func (DeleteSavedQueryRequest) BinaryRequestBody ¶ added in v65.64.0

func (request DeleteSavedQueryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteSavedQueryRequest) HTTPRequest ¶ added in v65.64.0

func (request DeleteSavedQueryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSavedQueryRequest) RetryPolicy ¶ added in v65.64.0

func (request DeleteSavedQueryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteSavedQueryRequest) String ¶ added in v65.64.0

func (request DeleteSavedQueryRequest) String() string

func (DeleteSavedQueryRequest) ValidateEnumValue ¶ added in v65.64.0

func (request DeleteSavedQueryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteSavedQueryResponse ¶ added in v65.64.0

type DeleteSavedQueryResponse 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"`
}

DeleteSavedQueryResponse wrapper for the DeleteSavedQuery operation

func (DeleteSavedQueryResponse) HTTPResponse ¶ added in v65.64.0

func (response DeleteSavedQueryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteSavedQueryResponse) String ¶ added in v65.64.0

func (response DeleteSavedQueryResponse) String() string

type DeleteSecurityRecipeRequest ¶ added in v65.3.0

type DeleteSecurityRecipeRequest struct {

	// The unique identifier of the security zone recipe. (`SecurityRecipe`)
	SecurityRecipeId *string `mandatory:"true" contributesTo:"path" name:"securityRecipeId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteSecurityRecipeRequest wrapper for the DeleteSecurityRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteSecurityRecipe.go.html to see an example of how to use DeleteSecurityRecipeRequest.

func (DeleteSecurityRecipeRequest) BinaryRequestBody ¶ added in v65.3.0

func (request DeleteSecurityRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteSecurityRecipeRequest) HTTPRequest ¶ added in v65.3.0

func (request DeleteSecurityRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSecurityRecipeRequest) RetryPolicy ¶ added in v65.3.0

func (request DeleteSecurityRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteSecurityRecipeRequest) String ¶ added in v65.3.0

func (request DeleteSecurityRecipeRequest) String() string

func (DeleteSecurityRecipeRequest) ValidateEnumValue ¶ added in v65.3.0

func (request DeleteSecurityRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteSecurityRecipeResponse ¶ added in v65.3.0

type DeleteSecurityRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteSecurityRecipeResponse wrapper for the DeleteSecurityRecipe operation

func (DeleteSecurityRecipeResponse) HTTPResponse ¶ added in v65.3.0

func (response DeleteSecurityRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteSecurityRecipeResponse) String ¶ added in v65.3.0

func (response DeleteSecurityRecipeResponse) String() string

type DeleteSecurityZoneRequest ¶ added in v65.3.0

type DeleteSecurityZoneRequest struct {

	// The unique identifier of the security zone (`SecurityZone` resource).
	SecurityZoneId *string `mandatory:"true" contributesTo:"path" name:"securityZoneId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteSecurityZoneRequest wrapper for the DeleteSecurityZone operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteSecurityZone.go.html to see an example of how to use DeleteSecurityZoneRequest.

func (DeleteSecurityZoneRequest) BinaryRequestBody ¶ added in v65.3.0

func (request DeleteSecurityZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteSecurityZoneRequest) HTTPRequest ¶ added in v65.3.0

func (request DeleteSecurityZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSecurityZoneRequest) RetryPolicy ¶ added in v65.3.0

func (request DeleteSecurityZoneRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteSecurityZoneRequest) String ¶ added in v65.3.0

func (request DeleteSecurityZoneRequest) String() string

func (DeleteSecurityZoneRequest) ValidateEnumValue ¶ added in v65.3.0

func (request DeleteSecurityZoneRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteSecurityZoneResponse ¶ added in v65.3.0

type DeleteSecurityZoneResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteSecurityZoneResponse wrapper for the DeleteSecurityZone operation

func (DeleteSecurityZoneResponse) HTTPResponse ¶ added in v65.3.0

func (response DeleteSecurityZoneResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteSecurityZoneResponse) String ¶ added in v65.3.0

func (response DeleteSecurityZoneResponse) String() string

type DeleteTargetDetectorRecipeRequest ¶

type DeleteTargetDetectorRecipeRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of the target detector recipe.
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteTargetDetectorRecipeRequest wrapper for the DeleteTargetDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteTargetDetectorRecipe.go.html to see an example of how to use DeleteTargetDetectorRecipeRequest.

func (DeleteTargetDetectorRecipeRequest) BinaryRequestBody ¶

func (request DeleteTargetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteTargetDetectorRecipeRequest) HTTPRequest ¶

func (request DeleteTargetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTargetDetectorRecipeRequest) RetryPolicy ¶

func (request DeleteTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteTargetDetectorRecipeRequest) String ¶

func (request DeleteTargetDetectorRecipeRequest) String() string

func (DeleteTargetDetectorRecipeRequest) ValidateEnumValue ¶

func (request DeleteTargetDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteTargetDetectorRecipeResponse ¶

type DeleteTargetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteTargetDetectorRecipeResponse wrapper for the DeleteTargetDetectorRecipe operation

func (DeleteTargetDetectorRecipeResponse) HTTPResponse ¶

func (response DeleteTargetDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteTargetDetectorRecipeResponse) String ¶

func (response DeleteTargetDetectorRecipeResponse) String() string

type DeleteTargetRequest ¶

type DeleteTargetRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteTargetRequest wrapper for the DeleteTarget operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteTarget.go.html to see an example of how to use DeleteTargetRequest.

func (DeleteTargetRequest) BinaryRequestBody ¶

func (request DeleteTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteTargetRequest) HTTPRequest ¶

func (request DeleteTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTargetRequest) RetryPolicy ¶

func (request DeleteTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteTargetRequest) String ¶

func (request DeleteTargetRequest) String() string

func (DeleteTargetRequest) ValidateEnumValue ¶

func (request DeleteTargetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteTargetResponderRecipeRequest ¶

type DeleteTargetResponderRecipeRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of the target responder recipe.
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteTargetResponderRecipeRequest wrapper for the DeleteTargetResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteTargetResponderRecipe.go.html to see an example of how to use DeleteTargetResponderRecipeRequest.

func (DeleteTargetResponderRecipeRequest) BinaryRequestBody ¶

func (request DeleteTargetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteTargetResponderRecipeRequest) HTTPRequest ¶

func (request DeleteTargetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTargetResponderRecipeRequest) RetryPolicy ¶

func (request DeleteTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteTargetResponderRecipeRequest) String ¶

func (request DeleteTargetResponderRecipeRequest) String() string

func (DeleteTargetResponderRecipeRequest) ValidateEnumValue ¶

func (request DeleteTargetResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteTargetResponderRecipeResponse ¶

type DeleteTargetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteTargetResponderRecipeResponse wrapper for the DeleteTargetResponderRecipe operation

func (DeleteTargetResponderRecipeResponse) HTTPResponse ¶

func (response DeleteTargetResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteTargetResponderRecipeResponse) String ¶

func (response DeleteTargetResponderRecipeResponse) String() string

type DeleteTargetResponse ¶

type DeleteTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteTargetResponse wrapper for the DeleteTarget operation

func (DeleteTargetResponse) HTTPResponse ¶

func (response DeleteTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteTargetResponse) String ¶

func (response DeleteTargetResponse) String() string

type DeleteWlpAgentRequest ¶ added in v65.64.0

type DeleteWlpAgentRequest struct {

	// WLP agent OCID.
	WlpAgentId *string `mandatory:"true" contributesTo:"path" name:"wlpAgentId"`

	// 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
}

DeleteWlpAgentRequest wrapper for the DeleteWlpAgent operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteWlpAgent.go.html to see an example of how to use DeleteWlpAgentRequest.

func (DeleteWlpAgentRequest) BinaryRequestBody ¶ added in v65.64.0

func (request DeleteWlpAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteWlpAgentRequest) HTTPRequest ¶ added in v65.64.0

func (request DeleteWlpAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteWlpAgentRequest) RetryPolicy ¶ added in v65.64.0

func (request DeleteWlpAgentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteWlpAgentRequest) String ¶ added in v65.64.0

func (request DeleteWlpAgentRequest) String() string

func (DeleteWlpAgentRequest) ValidateEnumValue ¶ added in v65.64.0

func (request DeleteWlpAgentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteWlpAgentResponse ¶ added in v65.64.0

type DeleteWlpAgentResponse 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"`
}

DeleteWlpAgentResponse wrapper for the DeleteWlpAgent operation

func (DeleteWlpAgentResponse) HTTPResponse ¶ added in v65.64.0

func (response DeleteWlpAgentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteWlpAgentResponse) String ¶ added in v65.64.0

func (response DeleteWlpAgentResponse) String() string

type Detector ¶

type Detector struct {

	// Unique identifier for detector
	Id *string `mandatory:"true" json:"id"`

	// Detector description
	Description *string `mandatory:"true" json:"description"`

	// The current lifecycle state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

Detector Information for a single detector category. For example, IAAS_ACTIVITY_DETECTOR or IAAS_CONFIGURATION_DETECTOR.

func (Detector) String ¶

func (m Detector) String() string

func (Detector) ValidateEnumValue ¶

func (m Detector) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorCollection ¶

type DetectorCollection struct {

	// List of DetectorSummary resources
	Items []DetectorSummary `mandatory:"true" json:"items"`
}

DetectorCollection The collection of detector summaries.

func (DetectorCollection) String ¶

func (m DetectorCollection) String() string

func (DetectorCollection) ValidateEnumValue ¶

func (m DetectorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorConfiguration ¶

type DetectorConfiguration struct {

	// Unique identifier 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"`

	// Map property Value data type
	AllowedValuesDataType *string `mandatory:"false" json:"allowedValuesDataType"`

	// Map of possible values for configuration
	AllowedValues []PropertyTuple `mandatory:"false" json:"allowedValues"`
}

DetectorConfiguration Configuration details for a detector.

func (DetectorConfiguration) String ¶

func (m DetectorConfiguration) String() string

func (DetectorConfiguration) ValidateEnumValue ¶

func (m DetectorConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorDetails ¶

type DetectorDetails struct {

	// Enablement status for the rule
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// The risk level for the rule
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// List of detector rule configurations
	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"`

	// Can the rule be configured?
	IsConfigurationAllowed *bool `mandatory:"false" json:"isConfigurationAllowed"`

	// The point at which an elevated resource risk score creates 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"`

	// Description for detector recipe detector rule
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for detector recipe detector rule
	Recommendation *string `mandatory:"false" json:"recommendation"`

	// The ID of the attached data source
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data source entities mapping for a detector rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`
}

DetectorDetails Detailed information for a detector.

func (DetectorDetails) String ¶

func (m DetectorDetails) String() string

func (*DetectorDetails) UnmarshalJSON ¶

func (m *DetectorDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DetectorDetails) ValidateEnumValue ¶

func (m DetectorDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorEnumEnum ¶

type DetectorEnumEnum string

DetectorEnumEnum Enum with underlying type: string

const (
	DetectorEnumIaasActivityDetector         DetectorEnumEnum = "IAAS_ACTIVITY_DETECTOR"
	DetectorEnumIaasConfigurationDetector    DetectorEnumEnum = "IAAS_CONFIGURATION_DETECTOR"
	DetectorEnumIaasThreatDetector           DetectorEnumEnum = "IAAS_THREAT_DETECTOR"
	DetectorEnumIaasLogInsightDetector       DetectorEnumEnum = "IAAS_LOG_INSIGHT_DETECTOR"
	DetectorEnumIaasInstanceSecurityDetector DetectorEnumEnum = "IAAS_INSTANCE_SECURITY_DETECTOR"
)

Set of constants representing the allowable values for DetectorEnumEnum

func GetDetectorEnumEnumValues ¶

func GetDetectorEnumEnumValues() []DetectorEnumEnum

GetDetectorEnumEnumValues Enumerates the set of values for DetectorEnumEnum

func GetMappingDetectorEnumEnum ¶

func GetMappingDetectorEnumEnum(val string) (DetectorEnumEnum, bool)

GetMappingDetectorEnumEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectorRecipe ¶

type DetectorRecipe struct {

	// OCID for detector recipe
	Id *string `mandatory:"true" json:"id"`

	// Display name of detector recipe
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment OCID 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"`

	// Recipe type ( STANDARD, ENTERPRISE )
	DetectorRecipeType DetectorRecipeEnumEnum `mandatory:"false" json:"detectorRecipeType,omitempty"`

	// 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 last updated Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle 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"`

	// List of target IDs to which the recipe is attached
	TargetIds []string `mandatory:"false" json:"targetIds"`
}

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 resource contains settings for a specific detector recipe, plus a list of the detector rules (DetectorRecipeDetectorRule resources) belonging to the DetectorRecipe resource.

func (DetectorRecipe) String ¶

func (m DetectorRecipe) String() string

func (DetectorRecipe) ValidateEnumValue ¶

func (m DetectorRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRecipeCollection ¶

type DetectorRecipeCollection struct {

	// List of DetectorRecipeSummary resources
	Items []DetectorRecipeSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

DetectorRecipeCollection The collection of summary information for detector recipes.

func (DetectorRecipeCollection) String ¶

func (m DetectorRecipeCollection) String() string

func (DetectorRecipeCollection) ValidateEnumValue ¶

func (m DetectorRecipeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRecipeDetectorRule ¶

type DetectorRecipeDetectorRule struct {

	// The unique identifier of the detector rule.
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	// Detector recipe 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 resource
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description for DetectorRecipeDetectorRule resource
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for DetectorRecipeDetectorRule resource
	Recommendation *string `mandatory:"false" json:"recommendation"`

	Details *DetectorDetails `mandatory:"false" json:"details"`

	// List of managed list types related to this rule
	ManagedListTypes []DetectorRecipeDetectorRuleManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"`

	// List of responder rules that can be used to remediate this detector 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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle 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"`

	// The unique identifier of the attached data source
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data source entities mapping for the detector rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

DetectorRecipeDetectorRule A DetectorRecipeDetectorRule resource defines a single recipe rule in the collection for a DetectorRecipe resource.

func (DetectorRecipeDetectorRule) String ¶

func (DetectorRecipeDetectorRule) ValidateEnumValue ¶

func (m DetectorRecipeDetectorRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRecipeDetectorRuleCollection ¶

type DetectorRecipeDetectorRuleCollection struct {

	// List of DetectorRecipeDetectorRuleSummary resources
	Items []DetectorRecipeDetectorRuleSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

DetectorRecipeDetectorRuleCollection Collection of summary information for detector rules in a detector recipe.

func (DetectorRecipeDetectorRuleCollection) String ¶

func (DetectorRecipeDetectorRuleCollection) ValidateEnumValue ¶

func (m DetectorRecipeDetectorRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRecipeDetectorRuleManagedListTypesEnum ¶

type DetectorRecipeDetectorRuleManagedListTypesEnum string

DetectorRecipeDetectorRuleManagedListTypesEnum Enum with underlying type: string

const (
	DetectorRecipeDetectorRuleManagedListTypesCidrBlock            DetectorRecipeDetectorRuleManagedListTypesEnum = "CIDR_BLOCK"
	DetectorRecipeDetectorRuleManagedListTypesUsers                DetectorRecipeDetectorRuleManagedListTypesEnum = "USERS"
	DetectorRecipeDetectorRuleManagedListTypesGroups               DetectorRecipeDetectorRuleManagedListTypesEnum = "GROUPS"
	DetectorRecipeDetectorRuleManagedListTypesIpv4address          DetectorRecipeDetectorRuleManagedListTypesEnum = "IPV4ADDRESS"
	DetectorRecipeDetectorRuleManagedListTypesIpv6address          DetectorRecipeDetectorRuleManagedListTypesEnum = "IPV6ADDRESS"
	DetectorRecipeDetectorRuleManagedListTypesResourceOcid         DetectorRecipeDetectorRuleManagedListTypesEnum = "RESOURCE_OCID"
	DetectorRecipeDetectorRuleManagedListTypesRegion               DetectorRecipeDetectorRuleManagedListTypesEnum = "REGION"
	DetectorRecipeDetectorRuleManagedListTypesCountry              DetectorRecipeDetectorRuleManagedListTypesEnum = "COUNTRY"
	DetectorRecipeDetectorRuleManagedListTypesState                DetectorRecipeDetectorRuleManagedListTypesEnum = "STATE"
	DetectorRecipeDetectorRuleManagedListTypesCity                 DetectorRecipeDetectorRuleManagedListTypesEnum = "CITY"
	DetectorRecipeDetectorRuleManagedListTypesTags                 DetectorRecipeDetectorRuleManagedListTypesEnum = "TAGS"
	DetectorRecipeDetectorRuleManagedListTypesGeneric              DetectorRecipeDetectorRuleManagedListTypesEnum = "GENERIC"
	DetectorRecipeDetectorRuleManagedListTypesFusionAppsRole       DetectorRecipeDetectorRuleManagedListTypesEnum = "FUSION_APPS_ROLE"
	DetectorRecipeDetectorRuleManagedListTypesFusionAppsPermission DetectorRecipeDetectorRuleManagedListTypesEnum = "FUSION_APPS_PERMISSION"
)

Set of constants representing the allowable values for DetectorRecipeDetectorRuleManagedListTypesEnum

func GetDetectorRecipeDetectorRuleManagedListTypesEnumValues ¶

func GetDetectorRecipeDetectorRuleManagedListTypesEnumValues() []DetectorRecipeDetectorRuleManagedListTypesEnum

GetDetectorRecipeDetectorRuleManagedListTypesEnumValues Enumerates the set of values for DetectorRecipeDetectorRuleManagedListTypesEnum

func GetMappingDetectorRecipeDetectorRuleManagedListTypesEnum ¶

func GetMappingDetectorRecipeDetectorRuleManagedListTypesEnum(val string) (DetectorRecipeDetectorRuleManagedListTypesEnum, bool)

GetMappingDetectorRecipeDetectorRuleManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectorRecipeDetectorRuleSummary ¶

type DetectorRecipeDetectorRuleSummary struct {

	// The unique identifier of the detector rule
	Id *string `mandatory:"true" json:"id"`

	// Possible types of detectors
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// Display name of the detector rule
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description of the detector rule
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for the Display name of the 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 managed list types related to this rule
	ManagedListTypes []DetectorRecipeDetectorRuleSummaryManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"`

	// List of responder rules that can be used to remediate problems triggered by this detector 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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle 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 data source
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data source entities mapping for the detector rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`
}

DetectorRecipeDetectorRuleSummary Summary information for a DetectorRecipeDetectorRule resoource.

func (DetectorRecipeDetectorRuleSummary) String ¶

func (DetectorRecipeDetectorRuleSummary) ValidateEnumValue ¶

func (m DetectorRecipeDetectorRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRecipeDetectorRuleSummaryManagedListTypesEnum ¶

type DetectorRecipeDetectorRuleSummaryManagedListTypesEnum string

DetectorRecipeDetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string

const (
	DetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock            DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK"
	DetectorRecipeDetectorRuleSummaryManagedListTypesUsers                DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "USERS"
	DetectorRecipeDetectorRuleSummaryManagedListTypesGroups               DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GROUPS"
	DetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address          DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS"
	DetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address          DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS"
	DetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid         DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID"
	DetectorRecipeDetectorRuleSummaryManagedListTypesRegion               DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "REGION"
	DetectorRecipeDetectorRuleSummaryManagedListTypesCountry              DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "COUNTRY"
	DetectorRecipeDetectorRuleSummaryManagedListTypesState                DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "STATE"
	DetectorRecipeDetectorRuleSummaryManagedListTypesCity                 DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CITY"
	DetectorRecipeDetectorRuleSummaryManagedListTypesTags                 DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "TAGS"
	DetectorRecipeDetectorRuleSummaryManagedListTypesGeneric              DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GENERIC"
	DetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsRole       DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_ROLE"
	DetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsPermission DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_PERMISSION"
)

Set of constants representing the allowable values for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum

func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues ¶

func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues() []DetectorRecipeDetectorRuleSummaryManagedListTypesEnum

GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum

func GetMappingDetectorRecipeDetectorRuleSummaryManagedListTypesEnum ¶

func GetMappingDetectorRecipeDetectorRuleSummaryManagedListTypesEnum(val string) (DetectorRecipeDetectorRuleSummaryManagedListTypesEnum, bool)

GetMappingDetectorRecipeDetectorRuleSummaryManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectorRecipeEnumEnum ¶ added in v65.64.0

type DetectorRecipeEnumEnum string

DetectorRecipeEnumEnum Enum with underlying type: string

const (
	DetectorRecipeEnumLimited    DetectorRecipeEnumEnum = "LIMITED"
	DetectorRecipeEnumBasic      DetectorRecipeEnumEnum = "BASIC"
	DetectorRecipeEnumStandard   DetectorRecipeEnumEnum = "STANDARD"
	DetectorRecipeEnumEnterprise DetectorRecipeEnumEnum = "ENTERPRISE"
)

Set of constants representing the allowable values for DetectorRecipeEnumEnum

func GetDetectorRecipeEnumEnumValues ¶ added in v65.64.0

func GetDetectorRecipeEnumEnumValues() []DetectorRecipeEnumEnum

GetDetectorRecipeEnumEnumValues Enumerates the set of values for DetectorRecipeEnumEnum

func GetMappingDetectorRecipeEnumEnum ¶ added in v65.64.0

func GetMappingDetectorRecipeEnumEnum(val string) (DetectorRecipeEnumEnum, bool)

GetMappingDetectorRecipeEnumEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectorRecipeSummary ¶

type DetectorRecipeSummary struct {

	// OCID for detector recipe
	Id *string `mandatory:"true" json:"id"`

	// Display name for detector recipe
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment OCID of detector recipe
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Owner of the 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"`

	// Recipe type ( STANDARD, ENTERPRISE )
	DetectorRecipeType DetectorRecipeEnumEnum `mandatory:"false" json:"detectorRecipeType,omitempty"`

	// List of detector 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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the resource
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The number of days for which source data is retained
	SourceDataRetention *int `mandatory:"false" json:"sourceDataRetention"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

DetectorRecipeSummary Summary information for a detector recipe.

func (DetectorRecipeSummary) String ¶

func (m DetectorRecipeSummary) String() string

func (DetectorRecipeSummary) ValidateEnumValue ¶

func (m DetectorRecipeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRule ¶

type DetectorRule struct {

	// The unique identifier of the detector rule
	Id *string `mandatory:"true" json:"id"`

	// Detector recipe 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 the detector rule
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description for the detector rule
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for the detector rule
	Recommendation *string `mandatory:"false" json:"recommendation"`

	DetectorDetails *DetectorDetails `mandatory:"false" json:"detectorDetails"`

	// List of managed list types related to this rule
	ManagedListTypes []DetectorRuleManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"`

	// List of responder rules that could be used to remediate a problem triggered by this detector 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 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"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

DetectorRule Information for a detector rule (DetectorRule object).

func (DetectorRule) String ¶

func (m DetectorRule) String() string

func (DetectorRule) ValidateEnumValue ¶

func (m DetectorRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRuleCollection ¶

type DetectorRuleCollection struct {

	// List of DetectorRuleSummary resources
	Items []DetectorRuleSummary `mandatory:"true" json:"items"`
}

DetectorRuleCollection Summary information for the collection of detector rules.

func (DetectorRuleCollection) String ¶

func (m DetectorRuleCollection) String() string

func (DetectorRuleCollection) ValidateEnumValue ¶

func (m DetectorRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRuleManagedListTypesEnum ¶

type DetectorRuleManagedListTypesEnum string

DetectorRuleManagedListTypesEnum Enum with underlying type: string

const (
	DetectorRuleManagedListTypesCidrBlock            DetectorRuleManagedListTypesEnum = "CIDR_BLOCK"
	DetectorRuleManagedListTypesUsers                DetectorRuleManagedListTypesEnum = "USERS"
	DetectorRuleManagedListTypesGroups               DetectorRuleManagedListTypesEnum = "GROUPS"
	DetectorRuleManagedListTypesIpv4address          DetectorRuleManagedListTypesEnum = "IPV4ADDRESS"
	DetectorRuleManagedListTypesIpv6address          DetectorRuleManagedListTypesEnum = "IPV6ADDRESS"
	DetectorRuleManagedListTypesResourceOcid         DetectorRuleManagedListTypesEnum = "RESOURCE_OCID"
	DetectorRuleManagedListTypesRegion               DetectorRuleManagedListTypesEnum = "REGION"
	DetectorRuleManagedListTypesCountry              DetectorRuleManagedListTypesEnum = "COUNTRY"
	DetectorRuleManagedListTypesState                DetectorRuleManagedListTypesEnum = "STATE"
	DetectorRuleManagedListTypesCity                 DetectorRuleManagedListTypesEnum = "CITY"
	DetectorRuleManagedListTypesTags                 DetectorRuleManagedListTypesEnum = "TAGS"
	DetectorRuleManagedListTypesGeneric              DetectorRuleManagedListTypesEnum = "GENERIC"
	DetectorRuleManagedListTypesFusionAppsRole       DetectorRuleManagedListTypesEnum = "FUSION_APPS_ROLE"
	DetectorRuleManagedListTypesFusionAppsPermission DetectorRuleManagedListTypesEnum = "FUSION_APPS_PERMISSION"
)

Set of constants representing the allowable values for DetectorRuleManagedListTypesEnum

func GetDetectorRuleManagedListTypesEnumValues ¶

func GetDetectorRuleManagedListTypesEnumValues() []DetectorRuleManagedListTypesEnum

GetDetectorRuleManagedListTypesEnumValues Enumerates the set of values for DetectorRuleManagedListTypesEnum

func GetMappingDetectorRuleManagedListTypesEnum ¶

func GetMappingDetectorRuleManagedListTypesEnum(val string) (DetectorRuleManagedListTypesEnum, bool)

GetMappingDetectorRuleManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectorRuleSummary ¶

type DetectorRuleSummary struct {

	// The unique identifier of the detector rule
	Id *string `mandatory:"true" json:"id"`

	// Possible types of detectors
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// Display name for the detector rule
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description for the detector rule
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for the 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 managed list types related to this rule
	ManagedListTypes []DetectorRuleSummaryManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"`

	// List of responder rules that can be used to remediate a problem triggered by this detector rule
	CandidateResponderRules []CandidateResponderRule `mandatory:"false" json:"candidateResponderRules"`

	DetectorDetails *DetectorDetails `mandatory:"false" json:"detectorDetails"`

	// The date and time the detector rule was first created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the detector rule was last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the detector rule
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

DetectorRuleSummary Summary information for a detector rule.

func (DetectorRuleSummary) String ¶

func (m DetectorRuleSummary) String() string

func (DetectorRuleSummary) ValidateEnumValue ¶

func (m DetectorRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRuleSummaryManagedListTypesEnum ¶

type DetectorRuleSummaryManagedListTypesEnum string

DetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string

const (
	DetectorRuleSummaryManagedListTypesCidrBlock            DetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK"
	DetectorRuleSummaryManagedListTypesUsers                DetectorRuleSummaryManagedListTypesEnum = "USERS"
	DetectorRuleSummaryManagedListTypesGroups               DetectorRuleSummaryManagedListTypesEnum = "GROUPS"
	DetectorRuleSummaryManagedListTypesIpv4address          DetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS"
	DetectorRuleSummaryManagedListTypesIpv6address          DetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS"
	DetectorRuleSummaryManagedListTypesResourceOcid         DetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID"
	DetectorRuleSummaryManagedListTypesRegion               DetectorRuleSummaryManagedListTypesEnum = "REGION"
	DetectorRuleSummaryManagedListTypesCountry              DetectorRuleSummaryManagedListTypesEnum = "COUNTRY"
	DetectorRuleSummaryManagedListTypesState                DetectorRuleSummaryManagedListTypesEnum = "STATE"
	DetectorRuleSummaryManagedListTypesCity                 DetectorRuleSummaryManagedListTypesEnum = "CITY"
	DetectorRuleSummaryManagedListTypesTags                 DetectorRuleSummaryManagedListTypesEnum = "TAGS"
	DetectorRuleSummaryManagedListTypesGeneric              DetectorRuleSummaryManagedListTypesEnum = "GENERIC"
	DetectorRuleSummaryManagedListTypesFusionAppsRole       DetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_ROLE"
	DetectorRuleSummaryManagedListTypesFusionAppsPermission DetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_PERMISSION"
)

Set of constants representing the allowable values for DetectorRuleSummaryManagedListTypesEnum

func GetDetectorRuleSummaryManagedListTypesEnumValues ¶

func GetDetectorRuleSummaryManagedListTypesEnumValues() []DetectorRuleSummaryManagedListTypesEnum

GetDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for DetectorRuleSummaryManagedListTypesEnum

func GetMappingDetectorRuleSummaryManagedListTypesEnum ¶

func GetMappingDetectorRuleSummaryManagedListTypesEnum(val string) (DetectorRuleSummaryManagedListTypesEnum, bool)

GetMappingDetectorRuleSummaryManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectorSummary ¶

type DetectorSummary struct {

	// Unique identifier for the detector
	Id *string `mandatory:"true" json:"id"`

	// Detector description
	Description *string `mandatory:"false" json:"description"`

	// The current lifecycle state of the resource
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

DetectorSummary Summary information for a detector.

func (DetectorSummary) String ¶

func (m DetectorSummary) String() string

func (DetectorSummary) ValidateEnumValue ¶

func (m DetectorSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EntitiesMapping ¶ added in v65.17.0

type EntitiesMapping struct {

	// The entity value mapped to a data source query
	QueryField *string `mandatory:"true" json:"queryField"`

	// Display name of the entity
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Type of entity
	EntityType EntityTypeEnum `mandatory:"false" json:"entityType,omitempty"`
}

EntitiesMapping Parameters for entities mapping to data source.

func (EntitiesMapping) String ¶ added in v65.17.0

func (m EntitiesMapping) String() string

func (EntitiesMapping) ValidateEnumValue ¶ added in v65.17.0

func (m EntitiesMapping) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EntityDetails ¶ added in v65.17.0

type EntityDetails struct {

	// The display name of entity
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The entity value
	Value *string `mandatory:"false" json:"value"`

	// Type of entity
	Type *string `mandatory:"false" json:"type"`
}

EntityDetails Detailed information for the entities mapped to a data source.

func (EntityDetails) String ¶ added in v65.17.0

func (m EntityDetails) String() string

func (EntityDetails) ValidateEnumValue ¶ added in v65.17.0

func (m EntityDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EntityTypeEnum ¶ added in v65.17.0

type EntityTypeEnum string

EntityTypeEnum Enum with underlying type: string

const (
	EntityTypeExternalIp EntityTypeEnum = "EXTERNAL_IP"
	EntityTypeInternalIp EntityTypeEnum = "INTERNAL_IP"
	EntityTypeText       EntityTypeEnum = "TEXT"
	EntityTypeJsonList   EntityTypeEnum = "JSON_LIST"
)

Set of constants representing the allowable values for EntityTypeEnum

func GetEntityTypeEnumValues ¶ added in v65.17.0

func GetEntityTypeEnumValues() []EntityTypeEnum

GetEntityTypeEnumValues Enumerates the set of values for EntityTypeEnum

func GetMappingEntityTypeEnum ¶ added in v65.17.0

func GetMappingEntityTypeEnum(val string) (EntityTypeEnum, bool)

GetMappingEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type EventStatusEnum ¶

type EventStatusEnum string

EventStatusEnum Enum with underlying type: string

const (
	EventStatusReopen  EventStatusEnum = "REOPEN"
	EventStatusOpen    EventStatusEnum = "OPEN"
	EventStatusUpdate  EventStatusEnum = "UPDATE"
	EventStatusResolve EventStatusEnum = "RESOLVE"
	EventStatusDismiss EventStatusEnum = "DISMISS"
	EventStatusDelete  EventStatusEnum = "DELETE"
)

Set of constants representing the allowable values for EventStatusEnum

func GetEventStatusEnumValues ¶

func GetEventStatusEnumValues() []EventStatusEnum

GetEventStatusEnumValues Enumerates the set of values for EventStatusEnum

func GetMappingEventStatusEnum ¶

func GetMappingEventStatusEnum(val string) (EventStatusEnum, bool)

GetMappingEventStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ExecuteResponderExecutionDetails ¶

type ExecuteResponderExecutionDetails struct {

	// List of responder rule configurations
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`
}

ExecuteResponderExecutionDetails The configuration details for a responder rule execution.

func (ExecuteResponderExecutionDetails) String ¶

func (ExecuteResponderExecutionDetails) ValidateEnumValue ¶

func (m ExecuteResponderExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ExecuteResponderExecutionRequest ¶

type ExecuteResponderExecutionRequest struct {

	// The unique identifier of the responder execution.
	ResponderExecutionId *string `mandatory:"true" contributesTo:"path" name:"responderExecutionId"`

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Details for responder configuration
	ExecuteResponderExecutionDetails `contributesTo:"body"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ExecuteResponderExecutionRequest wrapper for the ExecuteResponderExecution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ExecuteResponderExecution.go.html to see an example of how to use ExecuteResponderExecutionRequest.

func (ExecuteResponderExecutionRequest) BinaryRequestBody ¶

func (request ExecuteResponderExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ExecuteResponderExecutionRequest) HTTPRequest ¶

func (request ExecuteResponderExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ExecuteResponderExecutionRequest) RetryPolicy ¶

func (request ExecuteResponderExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ExecuteResponderExecutionRequest) String ¶

func (request ExecuteResponderExecutionRequest) String() string

func (ExecuteResponderExecutionRequest) ValidateEnumValue ¶

func (request ExecuteResponderExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ExecuteResponderExecutionResponse ¶

type ExecuteResponderExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ExecuteResponderExecutionResponse wrapper for the ExecuteResponderExecution operation

func (ExecuteResponderExecutionResponse) HTTPResponse ¶

func (response ExecuteResponderExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ExecuteResponderExecutionResponse) String ¶

func (response ExecuteResponderExecutionResponse) String() string

type FeedProviderTypeEnum ¶

type FeedProviderTypeEnum string

FeedProviderTypeEnum Enum with underlying type: string

const (
	FeedProviderTypeCustomer FeedProviderTypeEnum = "CUSTOMER"
	FeedProviderTypeOracle   FeedProviderTypeEnum = "ORACLE"
)

Set of constants representing the allowable values for FeedProviderTypeEnum

func GetFeedProviderTypeEnumValues ¶

func GetFeedProviderTypeEnumValues() []FeedProviderTypeEnum

GetFeedProviderTypeEnumValues Enumerates the set of values for FeedProviderTypeEnum

func GetMappingFeedProviderTypeEnum ¶

func GetMappingFeedProviderTypeEnum(val string) (FeedProviderTypeEnum, bool)

GetMappingFeedProviderTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type GeographicalLocation ¶

type GeographicalLocation struct {

	// Latitude of problem
	Latitude *float64 `mandatory:"true" json:"latitude"`

	// Longitude of problem
	Longitude *float64 `mandatory:"true" json:"longitude"`
}

GeographicalLocation The geographical location of a problem in terms of latitude and longitude.

func (GeographicalLocation) String ¶

func (m GeographicalLocation) String() string

func (GeographicalLocation) ValidateEnumValue ¶

func (m GeographicalLocation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetAdhocQueryRequest ¶ added in v65.64.0

type GetAdhocQueryRequest struct {

	// Adhoc query OCID.
	AdhocQueryId *string `mandatory:"true" contributesTo:"path" name:"adhocQueryId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetAdhocQueryRequest wrapper for the GetAdhocQuery operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetAdhocQuery.go.html to see an example of how to use GetAdhocQueryRequest.

func (GetAdhocQueryRequest) BinaryRequestBody ¶ added in v65.64.0

func (request GetAdhocQueryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAdhocQueryRequest) HTTPRequest ¶ added in v65.64.0

func (request GetAdhocQueryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAdhocQueryRequest) RetryPolicy ¶ added in v65.64.0

func (request GetAdhocQueryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAdhocQueryRequest) String ¶ added in v65.64.0

func (request GetAdhocQueryRequest) String() string

func (GetAdhocQueryRequest) ValidateEnumValue ¶ added in v65.64.0

func (request GetAdhocQueryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetAdhocQueryResponse ¶ added in v65.64.0

type GetAdhocQueryResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AdhocQuery instance
	AdhocQuery `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"`
}

GetAdhocQueryResponse wrapper for the GetAdhocQuery operation

func (GetAdhocQueryResponse) HTTPResponse ¶ added in v65.64.0

func (response GetAdhocQueryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAdhocQueryResponse) String ¶ added in v65.64.0

func (response GetAdhocQueryResponse) String() string

type GetAdhocQueryResultContentRequest ¶ added in v65.64.0

type GetAdhocQueryResultContentRequest struct {

	// Adhoc query OCID.
	AdhocQueryId *string `mandatory:"true" contributesTo:"path" name:"adhocQueryId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetAdhocQueryResultContentRequest wrapper for the GetAdhocQueryResultContent operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetAdhocQueryResultContent.go.html to see an example of how to use GetAdhocQueryResultContentRequest.

func (GetAdhocQueryResultContentRequest) BinaryRequestBody ¶ added in v65.64.0

func (request GetAdhocQueryResultContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAdhocQueryResultContentRequest) HTTPRequest ¶ added in v65.64.0

func (request GetAdhocQueryResultContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAdhocQueryResultContentRequest) RetryPolicy ¶ added in v65.64.0

func (request GetAdhocQueryResultContentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAdhocQueryResultContentRequest) String ¶ added in v65.64.0

func (request GetAdhocQueryResultContentRequest) String() string

func (GetAdhocQueryResultContentRequest) ValidateEnumValue ¶ added in v65.64.0

func (request GetAdhocQueryResultContentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetAdhocQueryResultContentResponse ¶ added in v65.64.0

type GetAdhocQueryResultContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

	// 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"`
}

GetAdhocQueryResultContentResponse wrapper for the GetAdhocQueryResultContent operation

func (GetAdhocQueryResultContentResponse) HTTPResponse ¶ added in v65.64.0

func (response GetAdhocQueryResultContentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAdhocQueryResultContentResponse) String ¶ added in v65.64.0

func (response GetAdhocQueryResultContentResponse) String() string

type GetConditionMetadataTypeConditionMetadataTypeIdEnum ¶

type GetConditionMetadataTypeConditionMetadataTypeIdEnum string

GetConditionMetadataTypeConditionMetadataTypeIdEnum Enum with underlying type: string

const (
	GetConditionMetadataTypeConditionMetadataTypeIdActivitycondition         GetConditionMetadataTypeConditionMetadataTypeIdEnum = "ActivityCondition"
	GetConditionMetadataTypeConditionMetadataTypeIdSecuritycondition         GetConditionMetadataTypeConditionMetadataTypeIdEnum = "SecurityCondition"
	GetConditionMetadataTypeConditionMetadataTypeIdCloudguardcondition       GetConditionMetadataTypeConditionMetadataTypeIdEnum = "CloudGuardCondition"
	GetConditionMetadataTypeConditionMetadataTypeIdInstancesecuritycondition GetConditionMetadataTypeConditionMetadataTypeIdEnum = "InstanceSecurityCondition"
	GetConditionMetadataTypeConditionMetadataTypeIdThreatcondition           GetConditionMetadataTypeConditionMetadataTypeIdEnum = "ThreatCondition"
)

Set of constants representing the allowable values for GetConditionMetadataTypeConditionMetadataTypeIdEnum

func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues ¶

func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues() []GetConditionMetadataTypeConditionMetadataTypeIdEnum

GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues Enumerates the set of values for GetConditionMetadataTypeConditionMetadataTypeIdEnum

func GetMappingGetConditionMetadataTypeConditionMetadataTypeIdEnum ¶

func GetMappingGetConditionMetadataTypeConditionMetadataTypeIdEnum(val string) (GetConditionMetadataTypeConditionMetadataTypeIdEnum, bool)

GetMappingGetConditionMetadataTypeConditionMetadataTypeIdEnum performs case Insensitive comparison on enum value and return the desired enum

type GetConditionMetadataTypeRequest ¶

type GetConditionMetadataTypeRequest struct {

	// The type of the condition metadata.
	ConditionMetadataTypeId GetConditionMetadataTypeConditionMetadataTypeIdEnum `mandatory:"true" contributesTo:"path" name:"conditionMetadataTypeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Service type filter for the condition metadata.
	ServiceType *string `mandatory:"false" contributesTo:"query" name:"serviceType"`

	// Resource filter for the condition metadata.
	ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetConditionMetadataTypeRequest wrapper for the GetConditionMetadataType operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetConditionMetadataType.go.html to see an example of how to use GetConditionMetadataTypeRequest.

func (GetConditionMetadataTypeRequest) BinaryRequestBody ¶

func (request GetConditionMetadataTypeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetConditionMetadataTypeRequest) HTTPRequest ¶

func (request GetConditionMetadataTypeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetConditionMetadataTypeRequest) RetryPolicy ¶

func (request GetConditionMetadataTypeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetConditionMetadataTypeRequest) String ¶

func (request GetConditionMetadataTypeRequest) String() string

func (GetConditionMetadataTypeRequest) ValidateEnumValue ¶

func (request GetConditionMetadataTypeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetConditionMetadataTypeResponse ¶

type GetConditionMetadataTypeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ConditionMetadataType instance
	ConditionMetadataType `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetConditionMetadataTypeResponse wrapper for the GetConditionMetadataType operation

func (GetConditionMetadataTypeResponse) HTTPResponse ¶

func (response GetConditionMetadataTypeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetConditionMetadataTypeResponse) String ¶

func (response GetConditionMetadataTypeResponse) String() string

type GetConfigurationRequest ¶

type GetConfigurationRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetConfigurationRequest wrapper for the GetConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetConfiguration.go.html to see an example of how to use GetConfigurationRequest.

func (GetConfigurationRequest) BinaryRequestBody ¶

func (request GetConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetConfigurationRequest) HTTPRequest ¶

func (request GetConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetConfigurationRequest) RetryPolicy ¶

func (request GetConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetConfigurationRequest) String ¶

func (request GetConfigurationRequest) String() string

func (GetConfigurationRequest) ValidateEnumValue ¶

func (request GetConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetConfigurationResponse ¶

type GetConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Configuration instance
	Configuration `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}

GetConfigurationResponse wrapper for the GetConfiguration operation

func (GetConfigurationResponse) HTTPResponse ¶

func (response GetConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetConfigurationResponse) String ¶

func (response GetConfigurationResponse) String() string

type GetDataMaskRuleRequest ¶

type GetDataMaskRuleRequest struct {

	// OCID of the data mask rule
	DataMaskRuleId *string `mandatory:"true" contributesTo:"path" name:"dataMaskRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetDataMaskRuleRequest wrapper for the GetDataMaskRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDataMaskRule.go.html to see an example of how to use GetDataMaskRuleRequest.

func (GetDataMaskRuleRequest) BinaryRequestBody ¶

func (request GetDataMaskRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDataMaskRuleRequest) HTTPRequest ¶

func (request GetDataMaskRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDataMaskRuleRequest) RetryPolicy ¶

func (request GetDataMaskRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDataMaskRuleRequest) String ¶

func (request GetDataMaskRuleRequest) String() string

func (GetDataMaskRuleRequest) ValidateEnumValue ¶

func (request GetDataMaskRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDataMaskRuleResponse ¶

type GetDataMaskRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DataMaskRule instance
	DataMaskRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetDataMaskRuleResponse wrapper for the GetDataMaskRule operation

func (GetDataMaskRuleResponse) HTTPResponse ¶

func (response GetDataMaskRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDataMaskRuleResponse) String ¶

func (response GetDataMaskRuleResponse) String() string

type GetDataSourceRequest ¶ added in v65.17.0

type GetDataSourceRequest struct {

	// Data source OCID.
	DataSourceId *string `mandatory:"true" contributesTo:"path" name:"dataSourceId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetDataSourceRequest wrapper for the GetDataSource operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDataSource.go.html to see an example of how to use GetDataSourceRequest.

func (GetDataSourceRequest) BinaryRequestBody ¶ added in v65.17.0

func (request GetDataSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDataSourceRequest) HTTPRequest ¶ added in v65.17.0

func (request GetDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDataSourceRequest) RetryPolicy ¶ added in v65.17.0

func (request GetDataSourceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDataSourceRequest) String ¶ added in v65.17.0

func (request GetDataSourceRequest) String() string

func (GetDataSourceRequest) ValidateEnumValue ¶ added in v65.17.0

func (request GetDataSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDataSourceResponse ¶ added in v65.17.0

type GetDataSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DataSource instance
	DataSource `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetDataSourceResponse wrapper for the GetDataSource operation

func (GetDataSourceResponse) HTTPResponse ¶ added in v65.17.0

func (response GetDataSourceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDataSourceResponse) String ¶ added in v65.17.0

func (response GetDataSourceResponse) String() string

type GetDetectorRecipeDetectorRuleRequest ¶

type GetDetectorRecipeDetectorRuleRequest struct {

	// Detector recipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The unique identifier of a detector rule.
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetDetectorRecipeDetectorRuleRequest wrapper for the GetDetectorRecipeDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDetectorRecipeDetectorRule.go.html to see an example of how to use GetDetectorRecipeDetectorRuleRequest.

func (GetDetectorRecipeDetectorRuleRequest) BinaryRequestBody ¶

func (request GetDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDetectorRecipeDetectorRuleRequest) HTTPRequest ¶

func (request GetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDetectorRecipeDetectorRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDetectorRecipeDetectorRuleRequest) String ¶

func (GetDetectorRecipeDetectorRuleRequest) ValidateEnumValue ¶

func (request GetDetectorRecipeDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDetectorRecipeDetectorRuleResponse ¶

type GetDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRecipeDetectorRule instance
	DetectorRecipeDetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetDetectorRecipeDetectorRuleResponse wrapper for the GetDetectorRecipeDetectorRule operation

func (GetDetectorRecipeDetectorRuleResponse) HTTPResponse ¶

func (response GetDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDetectorRecipeDetectorRuleResponse) String ¶

type GetDetectorRecipeRequest ¶

type GetDetectorRecipeRequest struct {

	// Detector recipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetDetectorRecipeRequest wrapper for the GetDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDetectorRecipe.go.html to see an example of how to use GetDetectorRecipeRequest.

func (GetDetectorRecipeRequest) BinaryRequestBody ¶

func (request GetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDetectorRecipeRequest) HTTPRequest ¶

func (request GetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDetectorRecipeRequest) RetryPolicy ¶

func (request GetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDetectorRecipeRequest) String ¶

func (request GetDetectorRecipeRequest) String() string

func (GetDetectorRecipeRequest) ValidateEnumValue ¶

func (request GetDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDetectorRecipeResponse ¶

type GetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRecipe instance
	DetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetDetectorRecipeResponse wrapper for the GetDetectorRecipe operation

func (GetDetectorRecipeResponse) HTTPResponse ¶

func (response GetDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDetectorRecipeResponse) String ¶

func (response GetDetectorRecipeResponse) String() string

type GetDetectorRequest ¶

type GetDetectorRequest struct {

	// Detector name.
	DetectorId *string `mandatory:"true" contributesTo:"path" name:"detectorId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetDetectorRequest wrapper for the GetDetector operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDetector.go.html to see an example of how to use GetDetectorRequest.

func (GetDetectorRequest) BinaryRequestBody ¶

func (request GetDetectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDetectorRequest) HTTPRequest ¶

func (request GetDetectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDetectorRequest) RetryPolicy ¶

func (request GetDetectorRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDetectorRequest) String ¶

func (request GetDetectorRequest) String() string

func (GetDetectorRequest) ValidateEnumValue ¶

func (request GetDetectorRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDetectorResponse ¶

type GetDetectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Detector instance
	Detector `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

GetDetectorResponse wrapper for the GetDetector operation

func (GetDetectorResponse) HTTPResponse ¶

func (response GetDetectorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDetectorResponse) String ¶

func (response GetDetectorResponse) String() string

type GetDetectorRuleRequest ¶

type GetDetectorRuleRequest struct {

	// Detector name.
	DetectorId *string `mandatory:"true" contributesTo:"path" name:"detectorId"`

	// The unique identifier of a detector rule.
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetDetectorRuleRequest wrapper for the GetDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDetectorRule.go.html to see an example of how to use GetDetectorRuleRequest.

func (GetDetectorRuleRequest) BinaryRequestBody ¶

func (request GetDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDetectorRuleRequest) HTTPRequest ¶

func (request GetDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDetectorRuleRequest) RetryPolicy ¶

func (request GetDetectorRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDetectorRuleRequest) String ¶

func (request GetDetectorRuleRequest) String() string

func (GetDetectorRuleRequest) ValidateEnumValue ¶

func (request GetDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDetectorRuleResponse ¶

type GetDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRule instance
	DetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

GetDetectorRuleResponse wrapper for the GetDetectorRule operation

func (GetDetectorRuleResponse) HTTPResponse ¶

func (response GetDetectorRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDetectorRuleResponse) String ¶

func (response GetDetectorRuleResponse) String() string

type GetManagedListRequest ¶

type GetManagedListRequest struct {

	// The managed list OCID to be passed in the request.
	ManagedListId *string `mandatory:"true" contributesTo:"path" name:"managedListId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetManagedListRequest wrapper for the GetManagedList operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetManagedList.go.html to see an example of how to use GetManagedListRequest.

func (GetManagedListRequest) BinaryRequestBody ¶

func (request GetManagedListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetManagedListRequest) HTTPRequest ¶

func (request GetManagedListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetManagedListRequest) RetryPolicy ¶

func (request GetManagedListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetManagedListRequest) String ¶

func (request GetManagedListRequest) String() string

func (GetManagedListRequest) ValidateEnumValue ¶

func (request GetManagedListRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetManagedListResponse ¶

type GetManagedListResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedList instance
	ManagedList `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetManagedListResponse wrapper for the GetManagedList operation

func (GetManagedListResponse) HTTPResponse ¶

func (response GetManagedListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetManagedListResponse) String ¶

func (response GetManagedListResponse) String() string

type GetProblemRequest ¶

type GetProblemRequest struct {

	// OCID of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetProblemRequest wrapper for the GetProblem operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetProblem.go.html to see an example of how to use GetProblemRequest.

func (GetProblemRequest) BinaryRequestBody ¶

func (request GetProblemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetProblemRequest) HTTPRequest ¶

func (request GetProblemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetProblemRequest) RetryPolicy ¶

func (request GetProblemRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetProblemRequest) String ¶

func (request GetProblemRequest) String() string

func (GetProblemRequest) ValidateEnumValue ¶

func (request GetProblemRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetProblemResponse ¶

type GetProblemResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Problem instance
	Problem `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetProblemResponse wrapper for the GetProblem operation

func (GetProblemResponse) HTTPResponse ¶

func (response GetProblemResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetProblemResponse) String ¶

func (response GetProblemResponse) String() string

type GetResourceProfileRequest ¶

type GetResourceProfileRequest struct {

	// OCID of the resource profile.
	ResourceProfileId *string `mandatory:"true" contributesTo:"path" name:"resourceProfileId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetResourceProfileRequest wrapper for the GetResourceProfile operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResourceProfile.go.html to see an example of how to use GetResourceProfileRequest.

func (GetResourceProfileRequest) BinaryRequestBody ¶

func (request GetResourceProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResourceProfileRequest) HTTPRequest ¶

func (request GetResourceProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResourceProfileRequest) RetryPolicy ¶

func (request GetResourceProfileRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResourceProfileRequest) String ¶

func (request GetResourceProfileRequest) String() string

func (GetResourceProfileRequest) ValidateEnumValue ¶

func (request GetResourceProfileRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResourceProfileResponse ¶

type GetResourceProfileResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResourceProfile instance
	ResourceProfile `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetResourceProfileResponse wrapper for the GetResourceProfile operation

func (GetResourceProfileResponse) HTTPResponse ¶

func (response GetResourceProfileResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResourceProfileResponse) String ¶

func (response GetResourceProfileResponse) String() string

type GetResourceRequest ¶ added in v65.64.0

type GetResourceRequest struct {

	// CloudGuard resource OCID
	ResourceId *string `mandatory:"true" contributesTo:"path" name:"resourceId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetResourceRequest wrapper for the GetResource operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResource.go.html to see an example of how to use GetResourceRequest.

func (GetResourceRequest) BinaryRequestBody ¶ added in v65.64.0

func (request GetResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResourceRequest) HTTPRequest ¶ added in v65.64.0

func (request GetResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResourceRequest) RetryPolicy ¶ added in v65.64.0

func (request GetResourceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResourceRequest) String ¶ added in v65.64.0

func (request GetResourceRequest) String() string

func (GetResourceRequest) ValidateEnumValue ¶ added in v65.64.0

func (request GetResourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResourceResponse ¶ added in v65.64.0

type GetResourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Resource instance
	Resource `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"`
}

GetResourceResponse wrapper for the GetResource operation

func (GetResourceResponse) HTTPResponse ¶ added in v65.64.0

func (response GetResourceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResourceResponse) String ¶ added in v65.64.0

func (response GetResourceResponse) String() string

type GetResourceVulnerabilityRequest ¶ added in v65.64.0

type GetResourceVulnerabilityRequest struct {

	// CloudGuard resource OCID
	ResourceId *string `mandatory:"true" contributesTo:"path" name:"resourceId"`

	// CloudGuard vulnerability id
	VulnerabilityKey *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityKey"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetResourceVulnerabilityRequest wrapper for the GetResourceVulnerability operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResourceVulnerability.go.html to see an example of how to use GetResourceVulnerabilityRequest.

func (GetResourceVulnerabilityRequest) BinaryRequestBody ¶ added in v65.64.0

func (request GetResourceVulnerabilityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResourceVulnerabilityRequest) HTTPRequest ¶ added in v65.64.0

func (request GetResourceVulnerabilityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResourceVulnerabilityRequest) RetryPolicy ¶ added in v65.64.0

func (request GetResourceVulnerabilityRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResourceVulnerabilityRequest) String ¶ added in v65.64.0

func (request GetResourceVulnerabilityRequest) String() string

func (GetResourceVulnerabilityRequest) ValidateEnumValue ¶ added in v65.64.0

func (request GetResourceVulnerabilityRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResourceVulnerabilityResponse ¶ added in v65.64.0

type GetResourceVulnerabilityResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResourceVulnerability instance
	ResourceVulnerability `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"`
}

GetResourceVulnerabilityResponse wrapper for the GetResourceVulnerability operation

func (GetResourceVulnerabilityResponse) HTTPResponse ¶ added in v65.64.0

func (response GetResourceVulnerabilityResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResourceVulnerabilityResponse) String ¶ added in v65.64.0

func (response GetResourceVulnerabilityResponse) String() string

type GetResponderExecutionRequest ¶

type GetResponderExecutionRequest struct {

	// The unique identifier of the responder execution.
	ResponderExecutionId *string `mandatory:"true" contributesTo:"path" name:"responderExecutionId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetResponderExecutionRequest wrapper for the GetResponderExecution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResponderExecution.go.html to see an example of how to use GetResponderExecutionRequest.

func (GetResponderExecutionRequest) BinaryRequestBody ¶

func (request GetResponderExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResponderExecutionRequest) HTTPRequest ¶

func (request GetResponderExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResponderExecutionRequest) RetryPolicy ¶

func (request GetResponderExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResponderExecutionRequest) String ¶

func (request GetResponderExecutionRequest) String() string

func (GetResponderExecutionRequest) ValidateEnumValue ¶

func (request GetResponderExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResponderExecutionResponse ¶

type GetResponderExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderExecution instance
	ResponderExecution `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetResponderExecutionResponse wrapper for the GetResponderExecution operation

func (GetResponderExecutionResponse) HTTPResponse ¶

func (response GetResponderExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResponderExecutionResponse) String ¶

func (response GetResponderExecutionResponse) String() string

type GetResponderRecipeRequest ¶

type GetResponderRecipeRequest struct {

	// OCID of the responder recipe.
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetResponderRecipeRequest wrapper for the GetResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResponderRecipe.go.html to see an example of how to use GetResponderRecipeRequest.

func (GetResponderRecipeRequest) BinaryRequestBody ¶

func (request GetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResponderRecipeRequest) HTTPRequest ¶

func (request GetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResponderRecipeRequest) RetryPolicy ¶

func (request GetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResponderRecipeRequest) String ¶

func (request GetResponderRecipeRequest) String() string

func (GetResponderRecipeRequest) ValidateEnumValue ¶

func (request GetResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResponderRecipeResponderRuleRequest ¶

type GetResponderRecipeResponderRuleRequest struct {

	// OCID of the responder recipe.
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// Unique identifier of the responder rule.
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetResponderRecipeResponderRuleRequest wrapper for the GetResponderRecipeResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResponderRecipeResponderRule.go.html to see an example of how to use GetResponderRecipeResponderRuleRequest.

func (GetResponderRecipeResponderRuleRequest) BinaryRequestBody ¶

func (request GetResponderRecipeResponderRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResponderRecipeResponderRuleRequest) HTTPRequest ¶

func (request GetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResponderRecipeResponderRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResponderRecipeResponderRuleRequest) String ¶

func (GetResponderRecipeResponderRuleRequest) ValidateEnumValue ¶

func (request GetResponderRecipeResponderRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResponderRecipeResponderRuleResponse ¶

type GetResponderRecipeResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRecipeResponderRule instance
	ResponderRecipeResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetResponderRecipeResponderRuleResponse wrapper for the GetResponderRecipeResponderRule operation

func (GetResponderRecipeResponderRuleResponse) HTTPResponse ¶

func (response GetResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResponderRecipeResponderRuleResponse) String ¶

type GetResponderRecipeResponse ¶

type GetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRecipe instance
	ResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetResponderRecipeResponse wrapper for the GetResponderRecipe operation

func (GetResponderRecipeResponse) HTTPResponse ¶

func (response GetResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResponderRecipeResponse) String ¶

func (response GetResponderRecipeResponse) String() string

type GetResponderRuleRequest ¶

type GetResponderRuleRequest struct {

	// Unique identifier of the responder rule.
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetResponderRuleRequest wrapper for the GetResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResponderRule.go.html to see an example of how to use GetResponderRuleRequest.

func (GetResponderRuleRequest) BinaryRequestBody ¶

func (request GetResponderRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResponderRuleRequest) HTTPRequest ¶

func (request GetResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResponderRuleRequest) RetryPolicy ¶

func (request GetResponderRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResponderRuleRequest) String ¶

func (request GetResponderRuleRequest) String() string

func (GetResponderRuleRequest) ValidateEnumValue ¶

func (request GetResponderRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResponderRuleResponse ¶

type GetResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRule instance
	ResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetResponderRuleResponse wrapper for the GetResponderRule operation

func (GetResponderRuleResponse) HTTPResponse ¶

func (response GetResponderRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResponderRuleResponse) String ¶

func (response GetResponderRuleResponse) String() string

type GetSavedQueryRequest ¶ added in v65.64.0

type GetSavedQueryRequest struct {

	// Saved query OCID
	SavedQueryId *string `mandatory:"true" contributesTo:"path" name:"savedQueryId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetSavedQueryRequest wrapper for the GetSavedQuery operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetSavedQuery.go.html to see an example of how to use GetSavedQueryRequest.

func (GetSavedQueryRequest) BinaryRequestBody ¶ added in v65.64.0

func (request GetSavedQueryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSavedQueryRequest) HTTPRequest ¶ added in v65.64.0

func (request GetSavedQueryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSavedQueryRequest) RetryPolicy ¶ added in v65.64.0

func (request GetSavedQueryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSavedQueryRequest) String ¶ added in v65.64.0

func (request GetSavedQueryRequest) String() string

func (GetSavedQueryRequest) ValidateEnumValue ¶ added in v65.64.0

func (request GetSavedQueryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetSavedQueryResponse ¶ added in v65.64.0

type GetSavedQueryResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SavedQuery instance
	SavedQuery `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"`
}

GetSavedQueryResponse wrapper for the GetSavedQuery operation

func (GetSavedQueryResponse) HTTPResponse ¶ added in v65.64.0

func (response GetSavedQueryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSavedQueryResponse) String ¶ added in v65.64.0

func (response GetSavedQueryResponse) String() string

type GetSecurityPolicyRequest ¶ added in v65.3.0

type GetSecurityPolicyRequest struct {

	// The unique identifier of the security zone policy. (`SecurityPolicy`)
	SecurityPolicyId *string `mandatory:"true" contributesTo:"path" name:"securityPolicyId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetSecurityPolicyRequest wrapper for the GetSecurityPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetSecurityPolicy.go.html to see an example of how to use GetSecurityPolicyRequest.

func (GetSecurityPolicyRequest) BinaryRequestBody ¶ added in v65.3.0

func (request GetSecurityPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSecurityPolicyRequest) HTTPRequest ¶ added in v65.3.0

func (request GetSecurityPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSecurityPolicyRequest) RetryPolicy ¶ added in v65.3.0

func (request GetSecurityPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSecurityPolicyRequest) String ¶ added in v65.3.0

func (request GetSecurityPolicyRequest) String() string

func (GetSecurityPolicyRequest) ValidateEnumValue ¶ added in v65.3.0

func (request GetSecurityPolicyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetSecurityPolicyResponse ¶ added in v65.3.0

type GetSecurityPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityPolicy instance
	SecurityPolicy `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetSecurityPolicyResponse wrapper for the GetSecurityPolicy operation

func (GetSecurityPolicyResponse) HTTPResponse ¶ added in v65.3.0

func (response GetSecurityPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSecurityPolicyResponse) String ¶ added in v65.3.0

func (response GetSecurityPolicyResponse) String() string

type GetSecurityRecipeRequest ¶ added in v65.3.0

type GetSecurityRecipeRequest struct {

	// The unique identifier of the security zone recipe. (`SecurityRecipe`)
	SecurityRecipeId *string `mandatory:"true" contributesTo:"path" name:"securityRecipeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetSecurityRecipeRequest wrapper for the GetSecurityRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetSecurityRecipe.go.html to see an example of how to use GetSecurityRecipeRequest.

func (GetSecurityRecipeRequest) BinaryRequestBody ¶ added in v65.3.0

func (request GetSecurityRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSecurityRecipeRequest) HTTPRequest ¶ added in v65.3.0

func (request GetSecurityRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSecurityRecipeRequest) RetryPolicy ¶ added in v65.3.0

func (request GetSecurityRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSecurityRecipeRequest) String ¶ added in v65.3.0

func (request GetSecurityRecipeRequest) String() string

func (GetSecurityRecipeRequest) ValidateEnumValue ¶ added in v65.3.0

func (request GetSecurityRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetSecurityRecipeResponse ¶ added in v65.3.0

type GetSecurityRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityRecipe instance
	SecurityRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetSecurityRecipeResponse wrapper for the GetSecurityRecipe operation

func (GetSecurityRecipeResponse) HTTPResponse ¶ added in v65.3.0

func (response GetSecurityRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSecurityRecipeResponse) String ¶ added in v65.3.0

func (response GetSecurityRecipeResponse) String() string

type GetSecurityZoneRequest ¶ added in v65.3.0

type GetSecurityZoneRequest struct {

	// The unique identifier of the security zone (`SecurityZone` resource).
	SecurityZoneId *string `mandatory:"true" contributesTo:"path" name:"securityZoneId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetSecurityZoneRequest wrapper for the GetSecurityZone operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetSecurityZone.go.html to see an example of how to use GetSecurityZoneRequest.

func (GetSecurityZoneRequest) BinaryRequestBody ¶ added in v65.3.0

func (request GetSecurityZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSecurityZoneRequest) HTTPRequest ¶ added in v65.3.0

func (request GetSecurityZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSecurityZoneRequest) RetryPolicy ¶ added in v65.3.0

func (request GetSecurityZoneRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSecurityZoneRequest) String ¶ added in v65.3.0

func (request GetSecurityZoneRequest) String() string

func (GetSecurityZoneRequest) ValidateEnumValue ¶ added in v65.3.0

func (request GetSecurityZoneRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetSecurityZoneResponse ¶ added in v65.3.0

type GetSecurityZoneResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityZone instance
	SecurityZone `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetSecurityZoneResponse wrapper for the GetSecurityZone operation

func (GetSecurityZoneResponse) HTTPResponse ¶ added in v65.3.0

func (response GetSecurityZoneResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSecurityZoneResponse) String ¶ added in v65.3.0

func (response GetSecurityZoneResponse) String() string

type GetSightingRequest ¶

type GetSightingRequest struct {

	// OCID of the sighting.
	SightingId *string `mandatory:"true" contributesTo:"path" name:"sightingId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetSightingRequest wrapper for the GetSighting operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetSighting.go.html to see an example of how to use GetSightingRequest.

func (GetSightingRequest) BinaryRequestBody ¶

func (request GetSightingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSightingRequest) HTTPRequest ¶

func (request GetSightingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSightingRequest) RetryPolicy ¶

func (request GetSightingRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSightingRequest) String ¶

func (request GetSightingRequest) String() string

func (GetSightingRequest) ValidateEnumValue ¶

func (request GetSightingRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetSightingResponse ¶

type GetSightingResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Sighting instance
	Sighting `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetSightingResponse wrapper for the GetSighting operation

func (GetSightingResponse) HTTPResponse ¶

func (response GetSightingResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSightingResponse) String ¶

func (response GetSightingResponse) String() string

type GetTargetDetectorRecipeDetectorRuleRequest ¶

type GetTargetDetectorRecipeDetectorRuleRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of the target detector recipe.
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The unique identifier of the 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
}

GetTargetDetectorRecipeDetectorRuleRequest wrapper for the GetTargetDetectorRecipeDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetDetectorRecipeDetectorRule.go.html to see an example of how to use GetTargetDetectorRecipeDetectorRuleRequest.

func (GetTargetDetectorRecipeDetectorRuleRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetTargetDetectorRecipeDetectorRuleRequest) HTTPRequest ¶

func (request GetTargetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetDetectorRecipeDetectorRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetDetectorRecipeDetectorRuleRequest) String ¶

func (GetTargetDetectorRecipeDetectorRuleRequest) ValidateEnumValue ¶

func (request GetTargetDetectorRecipeDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetTargetDetectorRecipeDetectorRuleResponse ¶

type GetTargetDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipeDetectorRule instance
	TargetDetectorRecipeDetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetDetectorRecipeDetectorRuleResponse wrapper for the GetTargetDetectorRecipeDetectorRule operation

func (GetTargetDetectorRecipeDetectorRuleResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetTargetDetectorRecipeDetectorRuleResponse) String ¶

type GetTargetDetectorRecipeRequest ¶

type GetTargetDetectorRecipeRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of the target detector recipe.
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetDetectorRecipeRequest wrapper for the GetTargetDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetDetectorRecipe.go.html to see an example of how to use GetTargetDetectorRecipeRequest.

func (GetTargetDetectorRecipeRequest) BinaryRequestBody ¶

func (request GetTargetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTargetDetectorRecipeRequest) HTTPRequest ¶

func (request GetTargetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetDetectorRecipeRequest) RetryPolicy ¶

func (request GetTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetDetectorRecipeRequest) String ¶

func (request GetTargetDetectorRecipeRequest) String() string

func (GetTargetDetectorRecipeRequest) ValidateEnumValue ¶

func (request GetTargetDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetTargetDetectorRecipeResponse ¶

type GetTargetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipe instance
	TargetDetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetDetectorRecipeResponse wrapper for the GetTargetDetectorRecipe operation

func (GetTargetDetectorRecipeResponse) HTTPResponse ¶

func (response GetTargetDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTargetDetectorRecipeResponse) String ¶

func (response GetTargetDetectorRecipeResponse) String() string

type GetTargetRequest ¶

type GetTargetRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetRequest wrapper for the GetTarget operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTarget.go.html to see an example of how to use GetTargetRequest.

func (GetTargetRequest) BinaryRequestBody ¶

func (request GetTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTargetRequest) HTTPRequest ¶

func (request GetTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetRequest) RetryPolicy ¶

func (request GetTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetRequest) String ¶

func (request GetTargetRequest) String() string

func (GetTargetRequest) ValidateEnumValue ¶

func (request GetTargetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetTargetResponderRecipeRequest ¶

type GetTargetResponderRecipeRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of the target responder recipe.
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetResponderRecipeRequest wrapper for the GetTargetResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetResponderRecipe.go.html to see an example of how to use GetTargetResponderRecipeRequest.

func (GetTargetResponderRecipeRequest) BinaryRequestBody ¶

func (request GetTargetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTargetResponderRecipeRequest) HTTPRequest ¶

func (request GetTargetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetResponderRecipeRequest) RetryPolicy ¶

func (request GetTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetResponderRecipeRequest) String ¶

func (request GetTargetResponderRecipeRequest) String() string

func (GetTargetResponderRecipeRequest) ValidateEnumValue ¶

func (request GetTargetResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetTargetResponderRecipeResponderRuleRequest ¶

type GetTargetResponderRecipeResponderRuleRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of the target responder recipe.
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// Unique identifier of the responder rule.
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetResponderRecipeResponderRuleRequest wrapper for the GetTargetResponderRecipeResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetResponderRecipeResponderRule.go.html to see an example of how to use GetTargetResponderRecipeResponderRuleRequest.

func (GetTargetResponderRecipeResponderRuleRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetTargetResponderRecipeResponderRuleRequest) HTTPRequest ¶

func (request GetTargetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetResponderRecipeResponderRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetResponderRecipeResponderRuleRequest) String ¶

func (GetTargetResponderRecipeResponderRuleRequest) ValidateEnumValue ¶

func (request GetTargetResponderRecipeResponderRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetTargetResponderRecipeResponderRuleResponse ¶

type GetTargetResponderRecipeResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipeResponderRule instance
	TargetResponderRecipeResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetResponderRecipeResponderRuleResponse wrapper for the GetTargetResponderRecipeResponderRule operation

func (GetTargetResponderRecipeResponderRuleResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetTargetResponderRecipeResponderRuleResponse) String ¶

type GetTargetResponderRecipeResponse ¶

type GetTargetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipe instance
	TargetResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetResponderRecipeResponse wrapper for the GetTargetResponderRecipe operation

func (GetTargetResponderRecipeResponse) HTTPResponse ¶

func (response GetTargetResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTargetResponderRecipeResponse) String ¶

func (response GetTargetResponderRecipeResponse) String() string

type GetTargetResponse ¶

type GetTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Target instance
	Target `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetResponse wrapper for the GetTarget operation

func (GetTargetResponse) HTTPResponse ¶

func (response GetTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTargetResponse) String ¶

func (response GetTargetResponse) String() string

type GetWlpAgentRequest ¶ added in v65.64.0

type GetWlpAgentRequest struct {

	// WLP agent OCID.
	WlpAgentId *string `mandatory:"true" contributesTo:"path" name:"wlpAgentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetWlpAgentRequest wrapper for the GetWlpAgent operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetWlpAgent.go.html to see an example of how to use GetWlpAgentRequest.

func (GetWlpAgentRequest) BinaryRequestBody ¶ added in v65.64.0

func (request GetWlpAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWlpAgentRequest) HTTPRequest ¶ added in v65.64.0

func (request GetWlpAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWlpAgentRequest) RetryPolicy ¶ added in v65.64.0

func (request GetWlpAgentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWlpAgentRequest) String ¶ added in v65.64.0

func (request GetWlpAgentRequest) String() string

func (GetWlpAgentRequest) ValidateEnumValue ¶ added in v65.64.0

func (request GetWlpAgentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWlpAgentResponse ¶ added in v65.64.0

type GetWlpAgentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WlpAgent instance
	WlpAgent `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"`
}

GetWlpAgentResponse wrapper for the GetWlpAgent operation

func (GetWlpAgentResponse) HTTPResponse ¶ added in v65.64.0

func (response GetWlpAgentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWlpAgentResponse) String ¶ added in v65.64.0

func (response GetWlpAgentResponse) String() string

type GetWorkRequestRequest ¶ added in v65.17.0

type GetWorkRequestRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

func (GetWorkRequestRequest) BinaryRequestBody ¶ added in v65.17.0

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest ¶ added in v65.17.0

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy ¶ added in v65.17.0

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String ¶ added in v65.17.0

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue ¶ added in v65.17.0

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse ¶ added in v65.17.0

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WorkRequest instance
	WorkRequest `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse ¶ added in v65.17.0

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String ¶ added in v65.17.0

func (response GetWorkRequestResponse) String() string

type ImpactedResourceCollection ¶

type ImpactedResourceCollection struct {

	// List of ImpactedResourceSummary resources
	Items []ImpactedResourceSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ImpactedResourceCollection Collection of impacted resource summaries.

func (ImpactedResourceCollection) String ¶

func (ImpactedResourceCollection) ValidateEnumValue ¶

func (m ImpactedResourceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ImpactedResourceSummary ¶

type ImpactedResourceSummary struct {

	// Unique identifier for finding event
	Id *string `mandatory:"true" json:"id"`

	// Unique identifier of the impacted resource
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// Problem ID associated with the Impacted resource
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Compartment OCID where the impacted 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"`

	// Date and time when the problem was identified
	TimeIdentified *common.SDKTime `mandatory:"true" json:"timeIdentified"`

	// Sighting type involved
	SightingType *string `mandatory:"false" json:"sightingType"`

	// Display name of the sighting type
	SightingTypeDisplayName *string `mandatory:"false" json:"sightingTypeDisplayName"`
}

ImpactedResourceSummary Summary of information on a resource that’s been impacted by a detected problem.

func (ImpactedResourceSummary) String ¶

func (m ImpactedResourceSummary) String() string

func (ImpactedResourceSummary) ValidateEnumValue ¶

func (m ImpactedResourceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InsightTypeLoggingQueryDetails ¶ added in v65.17.0

type InsightTypeLoggingQueryDetails struct {

	// The key entities count used for data source query
	KeyEntitiesCount *int `mandatory:"false" json:"keyEntitiesCount"`
}

InsightTypeLoggingQueryDetails Additional details for Insight type queries on a data source.

func (InsightTypeLoggingQueryDetails) MarshalJSON ¶ added in v65.17.0

func (m InsightTypeLoggingQueryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InsightTypeLoggingQueryDetails) String ¶ added in v65.17.0

func (InsightTypeLoggingQueryDetails) ValidateEnumValue ¶ added in v65.17.0

func (m InsightTypeLoggingQueryDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstanceSecurityServiceConfiguration ¶ added in v65.64.0

type InstanceSecurityServiceConfiguration struct {

	// Partner service status
	Status ConfigurationLifecycleStateEnum `mandatory:"false" json:"status,omitempty"`
}

InstanceSecurityServiceConfiguration Instance Security service configuration.

func (InstanceSecurityServiceConfiguration) MarshalJSON ¶ added in v65.64.0

func (m InstanceSecurityServiceConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InstanceSecurityServiceConfiguration) String ¶ added in v65.64.0

func (InstanceSecurityServiceConfiguration) ValidateEnumValue ¶ added in v65.64.0

func (m InstanceSecurityServiceConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LifecycleStateEnum ¶

type LifecycleStateEnum string

LifecycleStateEnum Enum with underlying type: string

const (
	LifecycleStateCreating LifecycleStateEnum = "CREATING"
	LifecycleStateUpdating LifecycleStateEnum = "UPDATING"
	LifecycleStateActive   LifecycleStateEnum = "ACTIVE"
	LifecycleStateInactive LifecycleStateEnum = "INACTIVE"
	LifecycleStateDeleting LifecycleStateEnum = "DELETING"
	LifecycleStateDeleted  LifecycleStateEnum = "DELETED"
	LifecycleStateFailed   LifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for LifecycleStateEnum

func GetLifecycleStateEnumValues ¶

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

func GetMappingLifecycleStateEnum ¶

func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)

GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAdhocQueriesAccessLevelEnum ¶ added in v65.64.0

type ListAdhocQueriesAccessLevelEnum string

ListAdhocQueriesAccessLevelEnum Enum with underlying type: string

const (
	ListAdhocQueriesAccessLevelRestricted ListAdhocQueriesAccessLevelEnum = "RESTRICTED"
	ListAdhocQueriesAccessLevelAccessible ListAdhocQueriesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAdhocQueriesAccessLevelEnum

func GetListAdhocQueriesAccessLevelEnumValues ¶ added in v65.64.0

func GetListAdhocQueriesAccessLevelEnumValues() []ListAdhocQueriesAccessLevelEnum

GetListAdhocQueriesAccessLevelEnumValues Enumerates the set of values for ListAdhocQueriesAccessLevelEnum

func GetMappingListAdhocQueriesAccessLevelEnum ¶ added in v65.64.0

func GetMappingListAdhocQueriesAccessLevelEnum(val string) (ListAdhocQueriesAccessLevelEnum, bool)

GetMappingListAdhocQueriesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAdhocQueriesAdhocQueryStatusEnum ¶ added in v65.64.0

type ListAdhocQueriesAdhocQueryStatusEnum string

ListAdhocQueriesAdhocQueryStatusEnum Enum with underlying type: string

const (
	ListAdhocQueriesAdhocQueryStatusCreating           ListAdhocQueriesAdhocQueryStatusEnum = "CREATING"
	ListAdhocQueriesAdhocQueryStatusCreated            ListAdhocQueriesAdhocQueryStatusEnum = "CREATED"
	ListAdhocQueriesAdhocQueryStatusInProgress         ListAdhocQueriesAdhocQueryStatusEnum = "IN_PROGRESS"
	ListAdhocQueriesAdhocQueryStatusPartiallyCompleted ListAdhocQueriesAdhocQueryStatusEnum = "PARTIALLY_COMPLETED"
	ListAdhocQueriesAdhocQueryStatusExpired            ListAdhocQueriesAdhocQueryStatusEnum = "EXPIRED"
	ListAdhocQueriesAdhocQueryStatusCompleted          ListAdhocQueriesAdhocQueryStatusEnum = "COMPLETED"
	ListAdhocQueriesAdhocQueryStatusFailed             ListAdhocQueriesAdhocQueryStatusEnum = "FAILED"
)

Set of constants representing the allowable values for ListAdhocQueriesAdhocQueryStatusEnum

func GetListAdhocQueriesAdhocQueryStatusEnumValues ¶ added in v65.64.0

func GetListAdhocQueriesAdhocQueryStatusEnumValues() []ListAdhocQueriesAdhocQueryStatusEnum

GetListAdhocQueriesAdhocQueryStatusEnumValues Enumerates the set of values for ListAdhocQueriesAdhocQueryStatusEnum

func GetMappingListAdhocQueriesAdhocQueryStatusEnum ¶ added in v65.64.0

func GetMappingListAdhocQueriesAdhocQueryStatusEnum(val string) (ListAdhocQueriesAdhocQueryStatusEnum, bool)

GetMappingListAdhocQueriesAdhocQueryStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAdhocQueriesRequest ¶ added in v65.64.0

type ListAdhocQueriesRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
	AdhocQueryStatus ListAdhocQueriesAdhocQueryStatusEnum `mandatory:"false" contributesTo:"query" name:"adhocQueryStatus" omitEmpty:"true"`

	// Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
	TimeStartedFilterQueryParam *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStartedFilterQueryParam"`

	// End time for a filter. If end time is not specified, end time will be set to current time.
	TimeEndedFilterQueryParam *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEndedFilterQueryParam"`

	// 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 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 ListAdhocQueriesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The sort order to use
	SortOrder ListAdhocQueriesSortOrderEnum `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 ListAdhocQueriesSortByEnum `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
}

ListAdhocQueriesRequest wrapper for the ListAdhocQueries operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListAdhocQueries.go.html to see an example of how to use ListAdhocQueriesRequest.

func (ListAdhocQueriesRequest) BinaryRequestBody ¶ added in v65.64.0

func (request ListAdhocQueriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAdhocQueriesRequest) HTTPRequest ¶ added in v65.64.0

func (request ListAdhocQueriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAdhocQueriesRequest) RetryPolicy ¶ added in v65.64.0

func (request ListAdhocQueriesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAdhocQueriesRequest) String ¶ added in v65.64.0

func (request ListAdhocQueriesRequest) String() string

func (ListAdhocQueriesRequest) ValidateEnumValue ¶ added in v65.64.0

func (request ListAdhocQueriesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListAdhocQueriesResponse ¶ added in v65.64.0

type ListAdhocQueriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AdhocQueryCollection instances
	AdhocQueryCollection `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"`
}

ListAdhocQueriesResponse wrapper for the ListAdhocQueries operation

func (ListAdhocQueriesResponse) HTTPResponse ¶ added in v65.64.0

func (response ListAdhocQueriesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAdhocQueriesResponse) String ¶ added in v65.64.0

func (response ListAdhocQueriesResponse) String() string

type ListAdhocQueriesSortByEnum ¶ added in v65.64.0

type ListAdhocQueriesSortByEnum string

ListAdhocQueriesSortByEnum Enum with underlying type: string

const (
	ListAdhocQueriesSortByTimecreated ListAdhocQueriesSortByEnum = "timeCreated"
	ListAdhocQueriesSortByDisplayname ListAdhocQueriesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListAdhocQueriesSortByEnum

func GetListAdhocQueriesSortByEnumValues ¶ added in v65.64.0

func GetListAdhocQueriesSortByEnumValues() []ListAdhocQueriesSortByEnum

GetListAdhocQueriesSortByEnumValues Enumerates the set of values for ListAdhocQueriesSortByEnum

func GetMappingListAdhocQueriesSortByEnum ¶ added in v65.64.0

func GetMappingListAdhocQueriesSortByEnum(val string) (ListAdhocQueriesSortByEnum, bool)

GetMappingListAdhocQueriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAdhocQueriesSortOrderEnum ¶ added in v65.64.0

type ListAdhocQueriesSortOrderEnum string

ListAdhocQueriesSortOrderEnum Enum with underlying type: string

const (
	ListAdhocQueriesSortOrderAsc  ListAdhocQueriesSortOrderEnum = "ASC"
	ListAdhocQueriesSortOrderDesc ListAdhocQueriesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAdhocQueriesSortOrderEnum

func GetListAdhocQueriesSortOrderEnumValues ¶ added in v65.64.0

func GetListAdhocQueriesSortOrderEnumValues() []ListAdhocQueriesSortOrderEnum

GetListAdhocQueriesSortOrderEnumValues Enumerates the set of values for ListAdhocQueriesSortOrderEnum

func GetMappingListAdhocQueriesSortOrderEnum ¶ added in v65.64.0

func GetMappingListAdhocQueriesSortOrderEnum(val string) (ListAdhocQueriesSortOrderEnum, bool)

GetMappingListAdhocQueriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAdhocQueryResultsRequest ¶ added in v65.64.0

type ListAdhocQueryResultsRequest struct {

	// Adhoc query OCID.
	AdhocQueryId *string `mandatory:"true" contributesTo:"path" name:"adhocQueryId"`

	// The OCID 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 sort order to use
	SortOrder ListAdhocQueryResultsSortOrderEnum `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 ListAdhocQueryResultsSortByEnum `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
}

ListAdhocQueryResultsRequest wrapper for the ListAdhocQueryResults operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListAdhocQueryResults.go.html to see an example of how to use ListAdhocQueryResultsRequest.

func (ListAdhocQueryResultsRequest) BinaryRequestBody ¶ added in v65.64.0

func (request ListAdhocQueryResultsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAdhocQueryResultsRequest) HTTPRequest ¶ added in v65.64.0

func (request ListAdhocQueryResultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAdhocQueryResultsRequest) RetryPolicy ¶ added in v65.64.0

func (request ListAdhocQueryResultsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAdhocQueryResultsRequest) String ¶ added in v65.64.0

func (request ListAdhocQueryResultsRequest) String() string

func (ListAdhocQueryResultsRequest) ValidateEnumValue ¶ added in v65.64.0

func (request ListAdhocQueryResultsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListAdhocQueryResultsResponse ¶ added in v65.64.0

type ListAdhocQueryResultsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AdhocQueryResultCollection instances
	AdhocQueryResultCollection `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"`
}

ListAdhocQueryResultsResponse wrapper for the ListAdhocQueryResults operation

func (ListAdhocQueryResultsResponse) HTTPResponse ¶ added in v65.64.0

func (response ListAdhocQueryResultsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAdhocQueryResultsResponse) String ¶ added in v65.64.0

func (response ListAdhocQueryResultsResponse) String() string

type ListAdhocQueryResultsSortByEnum ¶ added in v65.64.0

type ListAdhocQueryResultsSortByEnum string

ListAdhocQueryResultsSortByEnum Enum with underlying type: string

const (
	ListAdhocQueryResultsSortByTimecreated ListAdhocQueryResultsSortByEnum = "timeCreated"
	ListAdhocQueryResultsSortByDisplayname ListAdhocQueryResultsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListAdhocQueryResultsSortByEnum

func GetListAdhocQueryResultsSortByEnumValues ¶ added in v65.64.0

func GetListAdhocQueryResultsSortByEnumValues() []ListAdhocQueryResultsSortByEnum

GetListAdhocQueryResultsSortByEnumValues Enumerates the set of values for ListAdhocQueryResultsSortByEnum

func GetMappingListAdhocQueryResultsSortByEnum ¶ added in v65.64.0

func GetMappingListAdhocQueryResultsSortByEnum(val string) (ListAdhocQueryResultsSortByEnum, bool)

GetMappingListAdhocQueryResultsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAdhocQueryResultsSortOrderEnum ¶ added in v65.64.0

type ListAdhocQueryResultsSortOrderEnum string

ListAdhocQueryResultsSortOrderEnum Enum with underlying type: string

const (
	ListAdhocQueryResultsSortOrderAsc  ListAdhocQueryResultsSortOrderEnum = "ASC"
	ListAdhocQueryResultsSortOrderDesc ListAdhocQueryResultsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAdhocQueryResultsSortOrderEnum

func GetListAdhocQueryResultsSortOrderEnumValues ¶ added in v65.64.0

func GetListAdhocQueryResultsSortOrderEnumValues() []ListAdhocQueryResultsSortOrderEnum

GetListAdhocQueryResultsSortOrderEnumValues Enumerates the set of values for ListAdhocQueryResultsSortOrderEnum

func GetMappingListAdhocQueryResultsSortOrderEnum ¶ added in v65.64.0

func GetMappingListAdhocQueryResultsSortOrderEnum(val string) (ListAdhocQueryResultsSortOrderEnum, bool)

GetMappingListAdhocQueryResultsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConditionMetadataTypesLifecycleStateEnum ¶

type ListConditionMetadataTypesLifecycleStateEnum string

ListConditionMetadataTypesLifecycleStateEnum Enum with underlying type: string

const (
	ListConditionMetadataTypesLifecycleStateCreating ListConditionMetadataTypesLifecycleStateEnum = "CREATING"
	ListConditionMetadataTypesLifecycleStateUpdating ListConditionMetadataTypesLifecycleStateEnum = "UPDATING"
	ListConditionMetadataTypesLifecycleStateActive   ListConditionMetadataTypesLifecycleStateEnum = "ACTIVE"
	ListConditionMetadataTypesLifecycleStateInactive ListConditionMetadataTypesLifecycleStateEnum = "INACTIVE"
	ListConditionMetadataTypesLifecycleStateDeleting ListConditionMetadataTypesLifecycleStateEnum = "DELETING"
	ListConditionMetadataTypesLifecycleStateDeleted  ListConditionMetadataTypesLifecycleStateEnum = "DELETED"
	ListConditionMetadataTypesLifecycleStateFailed   ListConditionMetadataTypesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListConditionMetadataTypesLifecycleStateEnum

func GetListConditionMetadataTypesLifecycleStateEnumValues ¶

func GetListConditionMetadataTypesLifecycleStateEnumValues() []ListConditionMetadataTypesLifecycleStateEnum

GetListConditionMetadataTypesLifecycleStateEnumValues Enumerates the set of values for ListConditionMetadataTypesLifecycleStateEnum

func GetMappingListConditionMetadataTypesLifecycleStateEnum ¶

func GetMappingListConditionMetadataTypesLifecycleStateEnum(val string) (ListConditionMetadataTypesLifecycleStateEnum, bool)

GetMappingListConditionMetadataTypesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConditionMetadataTypesRequest ¶

type ListConditionMetadataTypesRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field lifecycle 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
	SortOrder ListConditionMetadataTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListConditionMetadataTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListConditionMetadataTypesRequest wrapper for the ListConditionMetadataTypes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListConditionMetadataTypes.go.html to see an example of how to use ListConditionMetadataTypesRequest.

func (ListConditionMetadataTypesRequest) BinaryRequestBody ¶

func (request ListConditionMetadataTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListConditionMetadataTypesRequest) HTTPRequest ¶

func (request ListConditionMetadataTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListConditionMetadataTypesRequest) RetryPolicy ¶

func (request ListConditionMetadataTypesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListConditionMetadataTypesRequest) String ¶

func (request ListConditionMetadataTypesRequest) String() string

func (ListConditionMetadataTypesRequest) ValidateEnumValue ¶

func (request ListConditionMetadataTypesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListConditionMetadataTypesResponse ¶

type ListConditionMetadataTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ConditionMetadataTypeCollection instances
	ConditionMetadataTypeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListConditionMetadataTypesResponse wrapper for the ListConditionMetadataTypes operation

func (ListConditionMetadataTypesResponse) HTTPResponse ¶

func (response ListConditionMetadataTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListConditionMetadataTypesResponse) String ¶

func (response ListConditionMetadataTypesResponse) String() string

type ListConditionMetadataTypesSortByEnum ¶

type ListConditionMetadataTypesSortByEnum string

ListConditionMetadataTypesSortByEnum Enum with underlying type: string

const (
	ListConditionMetadataTypesSortByTimecreated ListConditionMetadataTypesSortByEnum = "timeCreated"
	ListConditionMetadataTypesSortByDisplayname ListConditionMetadataTypesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListConditionMetadataTypesSortByEnum

func GetListConditionMetadataTypesSortByEnumValues ¶

func GetListConditionMetadataTypesSortByEnumValues() []ListConditionMetadataTypesSortByEnum

GetListConditionMetadataTypesSortByEnumValues Enumerates the set of values for ListConditionMetadataTypesSortByEnum

func GetMappingListConditionMetadataTypesSortByEnum ¶

func GetMappingListConditionMetadataTypesSortByEnum(val string) (ListConditionMetadataTypesSortByEnum, bool)

GetMappingListConditionMetadataTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConditionMetadataTypesSortOrderEnum ¶

type ListConditionMetadataTypesSortOrderEnum string

ListConditionMetadataTypesSortOrderEnum Enum with underlying type: string

const (
	ListConditionMetadataTypesSortOrderAsc  ListConditionMetadataTypesSortOrderEnum = "ASC"
	ListConditionMetadataTypesSortOrderDesc ListConditionMetadataTypesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListConditionMetadataTypesSortOrderEnum

func GetListConditionMetadataTypesSortOrderEnumValues ¶

func GetListConditionMetadataTypesSortOrderEnumValues() []ListConditionMetadataTypesSortOrderEnum

GetListConditionMetadataTypesSortOrderEnumValues Enumerates the set of values for ListConditionMetadataTypesSortOrderEnum

func GetMappingListConditionMetadataTypesSortOrderEnum ¶

func GetMappingListConditionMetadataTypesSortOrderEnum(val string) (ListConditionMetadataTypesSortOrderEnum, bool)

GetMappingListConditionMetadataTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataMaskRulesAccessLevelEnum ¶

type ListDataMaskRulesAccessLevelEnum string

ListDataMaskRulesAccessLevelEnum Enum with underlying type: string

const (
	ListDataMaskRulesAccessLevelRestricted ListDataMaskRulesAccessLevelEnum = "RESTRICTED"
	ListDataMaskRulesAccessLevelAccessible ListDataMaskRulesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListDataMaskRulesAccessLevelEnum

func GetListDataMaskRulesAccessLevelEnumValues ¶

func GetListDataMaskRulesAccessLevelEnumValues() []ListDataMaskRulesAccessLevelEnum

GetListDataMaskRulesAccessLevelEnumValues Enumerates the set of values for ListDataMaskRulesAccessLevelEnum

func GetMappingListDataMaskRulesAccessLevelEnum ¶

func GetMappingListDataMaskRulesAccessLevelEnum(val string) (ListDataMaskRulesAccessLevelEnum, bool)

GetMappingListDataMaskRulesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataMaskRulesDataMaskRuleStatusEnum ¶

type ListDataMaskRulesDataMaskRuleStatusEnum string

ListDataMaskRulesDataMaskRuleStatusEnum Enum with underlying type: string

const (
	ListDataMaskRulesDataMaskRuleStatusEnabled  ListDataMaskRulesDataMaskRuleStatusEnum = "ENABLED"
	ListDataMaskRulesDataMaskRuleStatusDisabled ListDataMaskRulesDataMaskRuleStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for ListDataMaskRulesDataMaskRuleStatusEnum

func GetListDataMaskRulesDataMaskRuleStatusEnumValues ¶

func GetListDataMaskRulesDataMaskRuleStatusEnumValues() []ListDataMaskRulesDataMaskRuleStatusEnum

GetListDataMaskRulesDataMaskRuleStatusEnumValues Enumerates the set of values for ListDataMaskRulesDataMaskRuleStatusEnum

func GetMappingListDataMaskRulesDataMaskRuleStatusEnum ¶

func GetMappingListDataMaskRulesDataMaskRuleStatusEnum(val string) (ListDataMaskRulesDataMaskRuleStatusEnum, bool)

GetMappingListDataMaskRulesDataMaskRuleStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataMaskRulesLifecycleStateEnum ¶

type ListDataMaskRulesLifecycleStateEnum string

ListDataMaskRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListDataMaskRulesLifecycleStateCreating ListDataMaskRulesLifecycleStateEnum = "CREATING"
	ListDataMaskRulesLifecycleStateUpdating ListDataMaskRulesLifecycleStateEnum = "UPDATING"
	ListDataMaskRulesLifecycleStateActive   ListDataMaskRulesLifecycleStateEnum = "ACTIVE"
	ListDataMaskRulesLifecycleStateInactive ListDataMaskRulesLifecycleStateEnum = "INACTIVE"
	ListDataMaskRulesLifecycleStateDeleting ListDataMaskRulesLifecycleStateEnum = "DELETING"
	ListDataMaskRulesLifecycleStateDeleted  ListDataMaskRulesLifecycleStateEnum = "DELETED"
	ListDataMaskRulesLifecycleStateFailed   ListDataMaskRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDataMaskRulesLifecycleStateEnum

func GetListDataMaskRulesLifecycleStateEnumValues ¶

func GetListDataMaskRulesLifecycleStateEnumValues() []ListDataMaskRulesLifecycleStateEnum

GetListDataMaskRulesLifecycleStateEnumValues Enumerates the set of values for ListDataMaskRulesLifecycleStateEnum

func GetMappingListDataMaskRulesLifecycleStateEnum ¶

func GetMappingListDataMaskRulesLifecycleStateEnum(val string) (ListDataMaskRulesLifecycleStateEnum, bool)

GetMappingListDataMaskRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataMaskRulesRequest ¶

type ListDataMaskRulesRequest struct {

	// The OCID 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 lifecycle 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
	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 data mask rule
	DataMaskRuleStatus ListDataMaskRulesDataMaskRuleStatusEnum `mandatory:"false" contributesTo:"query" name:"dataMaskRuleStatus" omitEmpty:"true"`

	// OCID of the target
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// OCID of the IAM group
	IamGroupId *string `mandatory:"false" contributesTo:"query" name:"iamGroupId"`

	// Type of target
	TargetType *string `mandatory:"false" contributesTo:"query" name:"targetType"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDataMaskRulesRequest wrapper for the ListDataMaskRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDataMaskRules.go.html to see an example of how to use ListDataMaskRulesRequest.

func (ListDataMaskRulesRequest) BinaryRequestBody ¶

func (request ListDataMaskRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDataMaskRulesRequest) HTTPRequest ¶

func (request ListDataMaskRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDataMaskRulesRequest) RetryPolicy ¶

func (request ListDataMaskRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDataMaskRulesRequest) String ¶

func (request ListDataMaskRulesRequest) String() string

func (ListDataMaskRulesRequest) ValidateEnumValue ¶

func (request ListDataMaskRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDataMaskRulesResponse ¶

type ListDataMaskRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DataMaskRuleCollection instances
	DataMaskRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDataMaskRulesResponse wrapper for the ListDataMaskRules operation

func (ListDataMaskRulesResponse) HTTPResponse ¶

func (response ListDataMaskRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDataMaskRulesResponse) String ¶

func (response ListDataMaskRulesResponse) String() string

type ListDataMaskRulesSortByEnum ¶

type ListDataMaskRulesSortByEnum string

ListDataMaskRulesSortByEnum Enum with underlying type: string

const (
	ListDataMaskRulesSortByTimecreated ListDataMaskRulesSortByEnum = "timeCreated"
	ListDataMaskRulesSortByDisplayname ListDataMaskRulesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDataMaskRulesSortByEnum

func GetListDataMaskRulesSortByEnumValues ¶

func GetListDataMaskRulesSortByEnumValues() []ListDataMaskRulesSortByEnum

GetListDataMaskRulesSortByEnumValues Enumerates the set of values for ListDataMaskRulesSortByEnum

func GetMappingListDataMaskRulesSortByEnum ¶

func GetMappingListDataMaskRulesSortByEnum(val string) (ListDataMaskRulesSortByEnum, bool)

GetMappingListDataMaskRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataMaskRulesSortOrderEnum ¶

type ListDataMaskRulesSortOrderEnum string

ListDataMaskRulesSortOrderEnum Enum with underlying type: string

const (
	ListDataMaskRulesSortOrderAsc  ListDataMaskRulesSortOrderEnum = "ASC"
	ListDataMaskRulesSortOrderDesc ListDataMaskRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDataMaskRulesSortOrderEnum

func GetListDataMaskRulesSortOrderEnumValues ¶

func GetListDataMaskRulesSortOrderEnumValues() []ListDataMaskRulesSortOrderEnum

GetListDataMaskRulesSortOrderEnumValues Enumerates the set of values for ListDataMaskRulesSortOrderEnum

func GetMappingListDataMaskRulesSortOrderEnum ¶

func GetMappingListDataMaskRulesSortOrderEnum(val string) (ListDataMaskRulesSortOrderEnum, bool)

GetMappingListDataMaskRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourceEventsRequest ¶ added in v65.17.0

type ListDataSourceEventsRequest struct {

	// Data source OCID.
	DataSourceId *string `mandatory:"true" contributesTo:"path" name:"dataSourceId"`

	// A filter to return only resource where 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
	SortOrder ListDataSourceEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListDataSourceEventsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDataSourceEventsRequest wrapper for the ListDataSourceEvents operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDataSourceEvents.go.html to see an example of how to use ListDataSourceEventsRequest.

func (ListDataSourceEventsRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ListDataSourceEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDataSourceEventsRequest) HTTPRequest ¶ added in v65.17.0

func (request ListDataSourceEventsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDataSourceEventsRequest) RetryPolicy ¶ added in v65.17.0

func (request ListDataSourceEventsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDataSourceEventsRequest) String ¶ added in v65.17.0

func (request ListDataSourceEventsRequest) String() string

func (ListDataSourceEventsRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ListDataSourceEventsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDataSourceEventsResponse ¶ added in v65.17.0

type ListDataSourceEventsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DataSourceEventCollection instances
	DataSourceEventCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDataSourceEventsResponse wrapper for the ListDataSourceEvents operation

func (ListDataSourceEventsResponse) HTTPResponse ¶ added in v65.17.0

func (response ListDataSourceEventsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDataSourceEventsResponse) String ¶ added in v65.17.0

func (response ListDataSourceEventsResponse) String() string

type ListDataSourceEventsSortByEnum ¶ added in v65.17.0

type ListDataSourceEventsSortByEnum string

ListDataSourceEventsSortByEnum Enum with underlying type: string

const (
	ListDataSourceEventsSortByTimecreated ListDataSourceEventsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListDataSourceEventsSortByEnum

func GetListDataSourceEventsSortByEnumValues ¶ added in v65.17.0

func GetListDataSourceEventsSortByEnumValues() []ListDataSourceEventsSortByEnum

GetListDataSourceEventsSortByEnumValues Enumerates the set of values for ListDataSourceEventsSortByEnum

func GetMappingListDataSourceEventsSortByEnum ¶ added in v65.17.0

func GetMappingListDataSourceEventsSortByEnum(val string) (ListDataSourceEventsSortByEnum, bool)

GetMappingListDataSourceEventsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourceEventsSortOrderEnum ¶ added in v65.17.0

type ListDataSourceEventsSortOrderEnum string

ListDataSourceEventsSortOrderEnum Enum with underlying type: string

const (
	ListDataSourceEventsSortOrderAsc  ListDataSourceEventsSortOrderEnum = "ASC"
	ListDataSourceEventsSortOrderDesc ListDataSourceEventsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDataSourceEventsSortOrderEnum

func GetListDataSourceEventsSortOrderEnumValues ¶ added in v65.17.0

func GetListDataSourceEventsSortOrderEnumValues() []ListDataSourceEventsSortOrderEnum

GetListDataSourceEventsSortOrderEnumValues Enumerates the set of values for ListDataSourceEventsSortOrderEnum

func GetMappingListDataSourceEventsSortOrderEnum ¶ added in v65.17.0

func GetMappingListDataSourceEventsSortOrderEnum(val string) (ListDataSourceEventsSortOrderEnum, bool)

GetMappingListDataSourceEventsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourcesAccessLevelEnum ¶ added in v65.17.0

type ListDataSourcesAccessLevelEnum string

ListDataSourcesAccessLevelEnum Enum with underlying type: string

const (
	ListDataSourcesAccessLevelRestricted ListDataSourcesAccessLevelEnum = "RESTRICTED"
	ListDataSourcesAccessLevelAccessible ListDataSourcesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListDataSourcesAccessLevelEnum

func GetListDataSourcesAccessLevelEnumValues ¶ added in v65.17.0

func GetListDataSourcesAccessLevelEnumValues() []ListDataSourcesAccessLevelEnum

GetListDataSourcesAccessLevelEnumValues Enumerates the set of values for ListDataSourcesAccessLevelEnum

func GetMappingListDataSourcesAccessLevelEnum ¶ added in v65.17.0

func GetMappingListDataSourcesAccessLevelEnum(val string) (ListDataSourcesAccessLevelEnum, bool)

GetMappingListDataSourcesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourcesDataSourceFeedProviderEnum ¶ added in v65.17.0

type ListDataSourcesDataSourceFeedProviderEnum string

ListDataSourcesDataSourceFeedProviderEnum Enum with underlying type: string

const (
	ListDataSourcesDataSourceFeedProviderLoggingquery   ListDataSourcesDataSourceFeedProviderEnum = "LOGGINGQUERY"
	ListDataSourcesDataSourceFeedProviderScheduledquery ListDataSourcesDataSourceFeedProviderEnum = "SCHEDULEDQUERY"
)

Set of constants representing the allowable values for ListDataSourcesDataSourceFeedProviderEnum

func GetListDataSourcesDataSourceFeedProviderEnumValues ¶ added in v65.17.0

func GetListDataSourcesDataSourceFeedProviderEnumValues() []ListDataSourcesDataSourceFeedProviderEnum

GetListDataSourcesDataSourceFeedProviderEnumValues Enumerates the set of values for ListDataSourcesDataSourceFeedProviderEnum

func GetMappingListDataSourcesDataSourceFeedProviderEnum ¶ added in v65.17.0

func GetMappingListDataSourcesDataSourceFeedProviderEnum(val string) (ListDataSourcesDataSourceFeedProviderEnum, bool)

GetMappingListDataSourcesDataSourceFeedProviderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourcesLifecycleStateEnum ¶ added in v65.17.0

type ListDataSourcesLifecycleStateEnum string

ListDataSourcesLifecycleStateEnum Enum with underlying type: string

const (
	ListDataSourcesLifecycleStateCreating ListDataSourcesLifecycleStateEnum = "CREATING"
	ListDataSourcesLifecycleStateUpdating ListDataSourcesLifecycleStateEnum = "UPDATING"
	ListDataSourcesLifecycleStateActive   ListDataSourcesLifecycleStateEnum = "ACTIVE"
	ListDataSourcesLifecycleStateInactive ListDataSourcesLifecycleStateEnum = "INACTIVE"
	ListDataSourcesLifecycleStateDeleting ListDataSourcesLifecycleStateEnum = "DELETING"
	ListDataSourcesLifecycleStateDeleted  ListDataSourcesLifecycleStateEnum = "DELETED"
	ListDataSourcesLifecycleStateFailed   ListDataSourcesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDataSourcesLifecycleStateEnum

func GetListDataSourcesLifecycleStateEnumValues ¶ added in v65.17.0

func GetListDataSourcesLifecycleStateEnumValues() []ListDataSourcesLifecycleStateEnum

GetListDataSourcesLifecycleStateEnumValues Enumerates the set of values for ListDataSourcesLifecycleStateEnum

func GetMappingListDataSourcesLifecycleStateEnum ¶ added in v65.17.0

func GetMappingListDataSourcesLifecycleStateEnum(val string) (ListDataSourcesLifecycleStateEnum, bool)

GetMappingListDataSourcesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourcesLoggingQueryTypeEnum ¶ added in v65.17.0

type ListDataSourcesLoggingQueryTypeEnum string

ListDataSourcesLoggingQueryTypeEnum Enum with underlying type: string

const (
	ListDataSourcesLoggingQueryTypeInsight ListDataSourcesLoggingQueryTypeEnum = "INSIGHT"
)

Set of constants representing the allowable values for ListDataSourcesLoggingQueryTypeEnum

func GetListDataSourcesLoggingQueryTypeEnumValues ¶ added in v65.17.0

func GetListDataSourcesLoggingQueryTypeEnumValues() []ListDataSourcesLoggingQueryTypeEnum

GetListDataSourcesLoggingQueryTypeEnumValues Enumerates the set of values for ListDataSourcesLoggingQueryTypeEnum

func GetMappingListDataSourcesLoggingQueryTypeEnum ¶ added in v65.17.0

func GetMappingListDataSourcesLoggingQueryTypeEnum(val string) (ListDataSourcesLoggingQueryTypeEnum, bool)

GetMappingListDataSourcesLoggingQueryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourcesRequest ¶ added in v65.17.0

type ListDataSourcesRequest struct {

	// The OCID 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 when their feed provider matches the given feed provider (`DataSourceFeedProvider` resource).
	DataSourceFeedProvider ListDataSourcesDataSourceFeedProviderEnum `mandatory:"false" contributesTo:"query" name:"dataSourceFeedProvider" omitEmpty:"true"`

	// The field lifecycle 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 where 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 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
	SortOrder ListDataSourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListDataSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDataSourcesRequest wrapper for the ListDataSources operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDataSources.go.html to see an example of how to use ListDataSourcesRequest.

func (ListDataSourcesRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ListDataSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDataSourcesRequest) HTTPRequest ¶ added in v65.17.0

func (request ListDataSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDataSourcesRequest) RetryPolicy ¶ added in v65.17.0

func (request ListDataSourcesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDataSourcesRequest) String ¶ added in v65.17.0

func (request ListDataSourcesRequest) String() string

func (ListDataSourcesRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ListDataSourcesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDataSourcesResponse ¶ added in v65.17.0

type ListDataSourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DataSourceCollection instances
	DataSourceCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDataSourcesResponse wrapper for the ListDataSources operation

func (ListDataSourcesResponse) HTTPResponse ¶ added in v65.17.0

func (response ListDataSourcesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDataSourcesResponse) String ¶ added in v65.17.0

func (response ListDataSourcesResponse) String() string

type ListDataSourcesSortByEnum ¶ added in v65.17.0

type ListDataSourcesSortByEnum string

ListDataSourcesSortByEnum Enum with underlying type: string

const (
	ListDataSourcesSortByTimecreated ListDataSourcesSortByEnum = "timeCreated"
	ListDataSourcesSortByDisplayname ListDataSourcesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDataSourcesSortByEnum

func GetListDataSourcesSortByEnumValues ¶ added in v65.17.0

func GetListDataSourcesSortByEnumValues() []ListDataSourcesSortByEnum

GetListDataSourcesSortByEnumValues Enumerates the set of values for ListDataSourcesSortByEnum

func GetMappingListDataSourcesSortByEnum ¶ added in v65.17.0

func GetMappingListDataSourcesSortByEnum(val string) (ListDataSourcesSortByEnum, bool)

GetMappingListDataSourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourcesSortOrderEnum ¶ added in v65.17.0

type ListDataSourcesSortOrderEnum string

ListDataSourcesSortOrderEnum Enum with underlying type: string

const (
	ListDataSourcesSortOrderAsc  ListDataSourcesSortOrderEnum = "ASC"
	ListDataSourcesSortOrderDesc ListDataSourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDataSourcesSortOrderEnum

func GetListDataSourcesSortOrderEnumValues ¶ added in v65.17.0

func GetListDataSourcesSortOrderEnumValues() []ListDataSourcesSortOrderEnum

GetListDataSourcesSortOrderEnumValues Enumerates the set of values for ListDataSourcesSortOrderEnum

func GetMappingListDataSourcesSortOrderEnum ¶ added in v65.17.0

func GetMappingListDataSourcesSortOrderEnum(val string) (ListDataSourcesSortOrderEnum, bool)

GetMappingListDataSourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipeDetectorRulesLifecycleStateEnum ¶

type ListDetectorRecipeDetectorRulesLifecycleStateEnum string

ListDetectorRecipeDetectorRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListDetectorRecipeDetectorRulesLifecycleStateCreating ListDetectorRecipeDetectorRulesLifecycleStateEnum = "CREATING"
	ListDetectorRecipeDetectorRulesLifecycleStateUpdating ListDetectorRecipeDetectorRulesLifecycleStateEnum = "UPDATING"
	ListDetectorRecipeDetectorRulesLifecycleStateActive   ListDetectorRecipeDetectorRulesLifecycleStateEnum = "ACTIVE"
	ListDetectorRecipeDetectorRulesLifecycleStateInactive ListDetectorRecipeDetectorRulesLifecycleStateEnum = "INACTIVE"
	ListDetectorRecipeDetectorRulesLifecycleStateDeleting ListDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETING"
	ListDetectorRecipeDetectorRulesLifecycleStateDeleted  ListDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETED"
	ListDetectorRecipeDetectorRulesLifecycleStateFailed   ListDetectorRecipeDetectorRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesLifecycleStateEnum

func GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues ¶

func GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues() []ListDetectorRecipeDetectorRulesLifecycleStateEnum

GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesLifecycleStateEnum

func GetMappingListDetectorRecipeDetectorRulesLifecycleStateEnum ¶

func GetMappingListDetectorRecipeDetectorRulesLifecycleStateEnum(val string) (ListDetectorRecipeDetectorRulesLifecycleStateEnum, bool)

GetMappingListDetectorRecipeDetectorRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipeDetectorRulesRequest ¶

type ListDetectorRecipeDetectorRulesRequest struct {

	// Detector recipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The OCID 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 lifecycle 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
	SortOrder ListDetectorRecipeDetectorRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListDetectorRecipeDetectorRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDetectorRecipeDetectorRulesRequest wrapper for the ListDetectorRecipeDetectorRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectorRecipeDetectorRules.go.html to see an example of how to use ListDetectorRecipeDetectorRulesRequest.

func (ListDetectorRecipeDetectorRulesRequest) BinaryRequestBody ¶

func (request ListDetectorRecipeDetectorRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDetectorRecipeDetectorRulesRequest) HTTPRequest ¶

func (request ListDetectorRecipeDetectorRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDetectorRecipeDetectorRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDetectorRecipeDetectorRulesRequest) String ¶

func (ListDetectorRecipeDetectorRulesRequest) ValidateEnumValue ¶

func (request ListDetectorRecipeDetectorRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDetectorRecipeDetectorRulesResponse ¶

type ListDetectorRecipeDetectorRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DetectorRecipeDetectorRuleCollection instances
	DetectorRecipeDetectorRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDetectorRecipeDetectorRulesResponse wrapper for the ListDetectorRecipeDetectorRules operation

func (ListDetectorRecipeDetectorRulesResponse) HTTPResponse ¶

func (response ListDetectorRecipeDetectorRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDetectorRecipeDetectorRulesResponse) String ¶

type ListDetectorRecipeDetectorRulesSortByEnum ¶

type ListDetectorRecipeDetectorRulesSortByEnum string

ListDetectorRecipeDetectorRulesSortByEnum Enum with underlying type: string

const (
	ListDetectorRecipeDetectorRulesSortByDisplayname ListDetectorRecipeDetectorRulesSortByEnum = "displayName"
	ListDetectorRecipeDetectorRulesSortByRisklevel   ListDetectorRecipeDetectorRulesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesSortByEnum

func GetListDetectorRecipeDetectorRulesSortByEnumValues ¶

func GetListDetectorRecipeDetectorRulesSortByEnumValues() []ListDetectorRecipeDetectorRulesSortByEnum

GetListDetectorRecipeDetectorRulesSortByEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesSortByEnum

func GetMappingListDetectorRecipeDetectorRulesSortByEnum ¶

func GetMappingListDetectorRecipeDetectorRulesSortByEnum(val string) (ListDetectorRecipeDetectorRulesSortByEnum, bool)

GetMappingListDetectorRecipeDetectorRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipeDetectorRulesSortOrderEnum ¶

type ListDetectorRecipeDetectorRulesSortOrderEnum string

ListDetectorRecipeDetectorRulesSortOrderEnum Enum with underlying type: string

const (
	ListDetectorRecipeDetectorRulesSortOrderAsc  ListDetectorRecipeDetectorRulesSortOrderEnum = "ASC"
	ListDetectorRecipeDetectorRulesSortOrderDesc ListDetectorRecipeDetectorRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesSortOrderEnum

func GetListDetectorRecipeDetectorRulesSortOrderEnumValues ¶

func GetListDetectorRecipeDetectorRulesSortOrderEnumValues() []ListDetectorRecipeDetectorRulesSortOrderEnum

GetListDetectorRecipeDetectorRulesSortOrderEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesSortOrderEnum

func GetMappingListDetectorRecipeDetectorRulesSortOrderEnum ¶

func GetMappingListDetectorRecipeDetectorRulesSortOrderEnum(val string) (ListDetectorRecipeDetectorRulesSortOrderEnum, bool)

GetMappingListDetectorRecipeDetectorRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipesAccessLevelEnum ¶

type ListDetectorRecipesAccessLevelEnum string

ListDetectorRecipesAccessLevelEnum Enum with underlying type: string

const (
	ListDetectorRecipesAccessLevelRestricted ListDetectorRecipesAccessLevelEnum = "RESTRICTED"
	ListDetectorRecipesAccessLevelAccessible ListDetectorRecipesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListDetectorRecipesAccessLevelEnum

func GetListDetectorRecipesAccessLevelEnumValues ¶

func GetListDetectorRecipesAccessLevelEnumValues() []ListDetectorRecipesAccessLevelEnum

GetListDetectorRecipesAccessLevelEnumValues Enumerates the set of values for ListDetectorRecipesAccessLevelEnum

func GetMappingListDetectorRecipesAccessLevelEnum ¶

func GetMappingListDetectorRecipesAccessLevelEnum(val string) (ListDetectorRecipesAccessLevelEnum, bool)

GetMappingListDetectorRecipesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipesLifecycleStateEnum ¶

type ListDetectorRecipesLifecycleStateEnum string

ListDetectorRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListDetectorRecipesLifecycleStateCreating ListDetectorRecipesLifecycleStateEnum = "CREATING"
	ListDetectorRecipesLifecycleStateUpdating ListDetectorRecipesLifecycleStateEnum = "UPDATING"
	ListDetectorRecipesLifecycleStateActive   ListDetectorRecipesLifecycleStateEnum = "ACTIVE"
	ListDetectorRecipesLifecycleStateInactive ListDetectorRecipesLifecycleStateEnum = "INACTIVE"
	ListDetectorRecipesLifecycleStateDeleting ListDetectorRecipesLifecycleStateEnum = "DELETING"
	ListDetectorRecipesLifecycleStateDeleted  ListDetectorRecipesLifecycleStateEnum = "DELETED"
	ListDetectorRecipesLifecycleStateFailed   ListDetectorRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDetectorRecipesLifecycleStateEnum

func GetListDetectorRecipesLifecycleStateEnumValues ¶

func GetListDetectorRecipesLifecycleStateEnumValues() []ListDetectorRecipesLifecycleStateEnum

GetListDetectorRecipesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRecipesLifecycleStateEnum

func GetMappingListDetectorRecipesLifecycleStateEnum ¶

func GetMappingListDetectorRecipesLifecycleStateEnum(val string) (ListDetectorRecipesLifecycleStateEnum, bool)

GetMappingListDetectorRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipesRequest ¶

type ListDetectorRecipesRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Default is false.
	// When set to true, the list of all Oracle-managed resources
	// metadata supported by Cloud Guard is returned.
	ResourceMetadataOnly *bool `mandatory:"false" contributesTo:"query" name:"resourceMetadataOnly"`

	// The field lifecycle 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 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
	SortOrder ListDetectorRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListDetectorRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDetectorRecipesRequest wrapper for the ListDetectorRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectorRecipes.go.html to see an example of how to use ListDetectorRecipesRequest.

func (ListDetectorRecipesRequest) BinaryRequestBody ¶

func (request ListDetectorRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDetectorRecipesRequest) HTTPRequest ¶

func (request ListDetectorRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDetectorRecipesRequest) RetryPolicy ¶

func (request ListDetectorRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDetectorRecipesRequest) String ¶

func (request ListDetectorRecipesRequest) String() string

func (ListDetectorRecipesRequest) ValidateEnumValue ¶

func (request ListDetectorRecipesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDetectorRecipesResponse ¶

type ListDetectorRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DetectorRecipeCollection instances
	DetectorRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDetectorRecipesResponse wrapper for the ListDetectorRecipes operation

func (ListDetectorRecipesResponse) HTTPResponse ¶

func (response ListDetectorRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDetectorRecipesResponse) String ¶

func (response ListDetectorRecipesResponse) String() string

type ListDetectorRecipesSortByEnum ¶

type ListDetectorRecipesSortByEnum string

ListDetectorRecipesSortByEnum Enum with underlying type: string

const (
	ListDetectorRecipesSortByTimecreated ListDetectorRecipesSortByEnum = "timeCreated"
	ListDetectorRecipesSortByDisplayname ListDetectorRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDetectorRecipesSortByEnum

func GetListDetectorRecipesSortByEnumValues ¶

func GetListDetectorRecipesSortByEnumValues() []ListDetectorRecipesSortByEnum

GetListDetectorRecipesSortByEnumValues Enumerates the set of values for ListDetectorRecipesSortByEnum

func GetMappingListDetectorRecipesSortByEnum ¶

func GetMappingListDetectorRecipesSortByEnum(val string) (ListDetectorRecipesSortByEnum, bool)

GetMappingListDetectorRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipesSortOrderEnum ¶

type ListDetectorRecipesSortOrderEnum string

ListDetectorRecipesSortOrderEnum Enum with underlying type: string

const (
	ListDetectorRecipesSortOrderAsc  ListDetectorRecipesSortOrderEnum = "ASC"
	ListDetectorRecipesSortOrderDesc ListDetectorRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDetectorRecipesSortOrderEnum

func GetListDetectorRecipesSortOrderEnumValues ¶

func GetListDetectorRecipesSortOrderEnumValues() []ListDetectorRecipesSortOrderEnum

GetListDetectorRecipesSortOrderEnumValues Enumerates the set of values for ListDetectorRecipesSortOrderEnum

func GetMappingListDetectorRecipesSortOrderEnum ¶

func GetMappingListDetectorRecipesSortOrderEnum(val string) (ListDetectorRecipesSortOrderEnum, bool)

GetMappingListDetectorRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRulesLifecycleStateEnum ¶

type ListDetectorRulesLifecycleStateEnum string

ListDetectorRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListDetectorRulesLifecycleStateCreating ListDetectorRulesLifecycleStateEnum = "CREATING"
	ListDetectorRulesLifecycleStateUpdating ListDetectorRulesLifecycleStateEnum = "UPDATING"
	ListDetectorRulesLifecycleStateActive   ListDetectorRulesLifecycleStateEnum = "ACTIVE"
	ListDetectorRulesLifecycleStateInactive ListDetectorRulesLifecycleStateEnum = "INACTIVE"
	ListDetectorRulesLifecycleStateDeleting ListDetectorRulesLifecycleStateEnum = "DELETING"
	ListDetectorRulesLifecycleStateDeleted  ListDetectorRulesLifecycleStateEnum = "DELETED"
	ListDetectorRulesLifecycleStateFailed   ListDetectorRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDetectorRulesLifecycleStateEnum

func GetListDetectorRulesLifecycleStateEnumValues ¶

func GetListDetectorRulesLifecycleStateEnumValues() []ListDetectorRulesLifecycleStateEnum

GetListDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRulesLifecycleStateEnum

func GetMappingListDetectorRulesLifecycleStateEnum ¶

func GetMappingListDetectorRulesLifecycleStateEnum(val string) (ListDetectorRulesLifecycleStateEnum, bool)

GetMappingListDetectorRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRulesRequest ¶

type ListDetectorRulesRequest struct {

	// Detector name.
	DetectorId *string `mandatory:"true" contributesTo:"path" name:"detectorId"`

	// The OCID 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 lifecycle 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
	SortOrder ListDetectorRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListDetectorRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDetectorRulesRequest wrapper for the ListDetectorRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectorRules.go.html to see an example of how to use ListDetectorRulesRequest.

func (ListDetectorRulesRequest) BinaryRequestBody ¶

func (request ListDetectorRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDetectorRulesRequest) HTTPRequest ¶

func (request ListDetectorRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDetectorRulesRequest) RetryPolicy ¶

func (request ListDetectorRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDetectorRulesRequest) String ¶

func (request ListDetectorRulesRequest) String() string

func (ListDetectorRulesRequest) ValidateEnumValue ¶

func (request ListDetectorRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDetectorRulesResponse ¶

type ListDetectorRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DetectorRuleCollection instances
	DetectorRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDetectorRulesResponse wrapper for the ListDetectorRules operation

func (ListDetectorRulesResponse) HTTPResponse ¶

func (response ListDetectorRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDetectorRulesResponse) String ¶

func (response ListDetectorRulesResponse) String() string

type ListDetectorRulesSortByEnum ¶

type ListDetectorRulesSortByEnum string

ListDetectorRulesSortByEnum Enum with underlying type: string

const (
	ListDetectorRulesSortByTimecreated ListDetectorRulesSortByEnum = "timeCreated"
	ListDetectorRulesSortByDisplayname ListDetectorRulesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDetectorRulesSortByEnum

func GetListDetectorRulesSortByEnumValues ¶

func GetListDetectorRulesSortByEnumValues() []ListDetectorRulesSortByEnum

GetListDetectorRulesSortByEnumValues Enumerates the set of values for ListDetectorRulesSortByEnum

func GetMappingListDetectorRulesSortByEnum ¶

func GetMappingListDetectorRulesSortByEnum(val string) (ListDetectorRulesSortByEnum, bool)

GetMappingListDetectorRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRulesSortOrderEnum ¶

type ListDetectorRulesSortOrderEnum string

ListDetectorRulesSortOrderEnum Enum with underlying type: string

const (
	ListDetectorRulesSortOrderAsc  ListDetectorRulesSortOrderEnum = "ASC"
	ListDetectorRulesSortOrderDesc ListDetectorRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDetectorRulesSortOrderEnum

func GetListDetectorRulesSortOrderEnumValues ¶

func GetListDetectorRulesSortOrderEnumValues() []ListDetectorRulesSortOrderEnum

GetListDetectorRulesSortOrderEnumValues Enumerates the set of values for ListDetectorRulesSortOrderEnum

func GetMappingListDetectorRulesSortOrderEnum ¶

func GetMappingListDetectorRulesSortOrderEnum(val string) (ListDetectorRulesSortOrderEnum, bool)

GetMappingListDetectorRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorsLifecycleStateEnum ¶

type ListDetectorsLifecycleStateEnum string

ListDetectorsLifecycleStateEnum Enum with underlying type: string

const (
	ListDetectorsLifecycleStateCreating ListDetectorsLifecycleStateEnum = "CREATING"
	ListDetectorsLifecycleStateUpdating ListDetectorsLifecycleStateEnum = "UPDATING"
	ListDetectorsLifecycleStateActive   ListDetectorsLifecycleStateEnum = "ACTIVE"
	ListDetectorsLifecycleStateInactive ListDetectorsLifecycleStateEnum = "INACTIVE"
	ListDetectorsLifecycleStateDeleting ListDetectorsLifecycleStateEnum = "DELETING"
	ListDetectorsLifecycleStateDeleted  ListDetectorsLifecycleStateEnum = "DELETED"
	ListDetectorsLifecycleStateFailed   ListDetectorsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDetectorsLifecycleStateEnum

func GetListDetectorsLifecycleStateEnumValues ¶

func GetListDetectorsLifecycleStateEnumValues() []ListDetectorsLifecycleStateEnum

GetListDetectorsLifecycleStateEnumValues Enumerates the set of values for ListDetectorsLifecycleStateEnum

func GetMappingListDetectorsLifecycleStateEnum ¶

func GetMappingListDetectorsLifecycleStateEnum(val string) (ListDetectorsLifecycleStateEnum, bool)

GetMappingListDetectorsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorsRequest ¶

type ListDetectorsRequest struct {

	// The OCID 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 lifecycle 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
	SortOrder ListDetectorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListDetectorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDetectorsRequest wrapper for the ListDetectors operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectors.go.html to see an example of how to use ListDetectorsRequest.

func (ListDetectorsRequest) BinaryRequestBody ¶

func (request ListDetectorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDetectorsRequest) HTTPRequest ¶

func (request ListDetectorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDetectorsRequest) RetryPolicy ¶

func (request ListDetectorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDetectorsRequest) String ¶

func (request ListDetectorsRequest) String() string

func (ListDetectorsRequest) ValidateEnumValue ¶

func (request ListDetectorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDetectorsResponse ¶

type ListDetectorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DetectorCollection instances
	DetectorCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDetectorsResponse wrapper for the ListDetectors operation

func (ListDetectorsResponse) HTTPResponse ¶

func (response ListDetectorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDetectorsResponse) String ¶

func (response ListDetectorsResponse) String() string

type ListDetectorsSortByEnum ¶

type ListDetectorsSortByEnum string

ListDetectorsSortByEnum Enum with underlying type: string

const (
	ListDetectorsSortByTimecreated ListDetectorsSortByEnum = "timeCreated"
	ListDetectorsSortByDisplayname ListDetectorsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDetectorsSortByEnum

func GetListDetectorsSortByEnumValues ¶

func GetListDetectorsSortByEnumValues() []ListDetectorsSortByEnum

GetListDetectorsSortByEnumValues Enumerates the set of values for ListDetectorsSortByEnum

func GetMappingListDetectorsSortByEnum ¶

func GetMappingListDetectorsSortByEnum(val string) (ListDetectorsSortByEnum, bool)

GetMappingListDetectorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorsSortOrderEnum ¶

type ListDetectorsSortOrderEnum string

ListDetectorsSortOrderEnum Enum with underlying type: string

const (
	ListDetectorsSortOrderAsc  ListDetectorsSortOrderEnum = "ASC"
	ListDetectorsSortOrderDesc ListDetectorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDetectorsSortOrderEnum

func GetListDetectorsSortOrderEnumValues ¶

func GetListDetectorsSortOrderEnumValues() []ListDetectorsSortOrderEnum

GetListDetectorsSortOrderEnumValues Enumerates the set of values for ListDetectorsSortOrderEnum

func GetMappingListDetectorsSortOrderEnum ¶

func GetMappingListDetectorsSortOrderEnum(val string) (ListDetectorsSortOrderEnum, bool)

GetMappingListDetectorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListImpactedResourcesRequest ¶

type ListImpactedResourcesRequest struct {

	// OCID of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use
	SortOrder ListImpactedResourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListImpactedResourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListImpactedResourcesRequest wrapper for the ListImpactedResources operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListImpactedResources.go.html to see an example of how to use ListImpactedResourcesRequest.

func (ListImpactedResourcesRequest) BinaryRequestBody ¶

func (request ListImpactedResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListImpactedResourcesRequest) HTTPRequest ¶

func (request ListImpactedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListImpactedResourcesRequest) RetryPolicy ¶

func (request ListImpactedResourcesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListImpactedResourcesRequest) String ¶

func (request ListImpactedResourcesRequest) String() string

func (ListImpactedResourcesRequest) ValidateEnumValue ¶

func (request ListImpactedResourcesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListImpactedResourcesResponse ¶

type ListImpactedResourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ImpactedResourceCollection instances
	ImpactedResourceCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListImpactedResourcesResponse wrapper for the ListImpactedResources operation

func (ListImpactedResourcesResponse) HTTPResponse ¶

func (response ListImpactedResourcesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListImpactedResourcesResponse) String ¶

func (response ListImpactedResourcesResponse) String() string

type ListImpactedResourcesSortByEnum ¶

type ListImpactedResourcesSortByEnum string

ListImpactedResourcesSortByEnum Enum with underlying type: string

const (
	ListImpactedResourcesSortByTimecreated ListImpactedResourcesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListImpactedResourcesSortByEnum

func GetListImpactedResourcesSortByEnumValues ¶

func GetListImpactedResourcesSortByEnumValues() []ListImpactedResourcesSortByEnum

GetListImpactedResourcesSortByEnumValues Enumerates the set of values for ListImpactedResourcesSortByEnum

func GetMappingListImpactedResourcesSortByEnum ¶

func GetMappingListImpactedResourcesSortByEnum(val string) (ListImpactedResourcesSortByEnum, bool)

GetMappingListImpactedResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListImpactedResourcesSortOrderEnum ¶

type ListImpactedResourcesSortOrderEnum string

ListImpactedResourcesSortOrderEnum Enum with underlying type: string

const (
	ListImpactedResourcesSortOrderAsc  ListImpactedResourcesSortOrderEnum = "ASC"
	ListImpactedResourcesSortOrderDesc ListImpactedResourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListImpactedResourcesSortOrderEnum

func GetListImpactedResourcesSortOrderEnumValues ¶

func GetListImpactedResourcesSortOrderEnumValues() []ListImpactedResourcesSortOrderEnum

GetListImpactedResourcesSortOrderEnumValues Enumerates the set of values for ListImpactedResourcesSortOrderEnum

func GetMappingListImpactedResourcesSortOrderEnum ¶

func GetMappingListImpactedResourcesSortOrderEnum(val string) (ListImpactedResourcesSortOrderEnum, bool)

GetMappingListImpactedResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListTypesLifecycleStateEnum ¶

type ListManagedListTypesLifecycleStateEnum string

ListManagedListTypesLifecycleStateEnum Enum with underlying type: string

const (
	ListManagedListTypesLifecycleStateCreating ListManagedListTypesLifecycleStateEnum = "CREATING"
	ListManagedListTypesLifecycleStateUpdating ListManagedListTypesLifecycleStateEnum = "UPDATING"
	ListManagedListTypesLifecycleStateActive   ListManagedListTypesLifecycleStateEnum = "ACTIVE"
	ListManagedListTypesLifecycleStateInactive ListManagedListTypesLifecycleStateEnum = "INACTIVE"
	ListManagedListTypesLifecycleStateDeleting ListManagedListTypesLifecycleStateEnum = "DELETING"
	ListManagedListTypesLifecycleStateDeleted  ListManagedListTypesLifecycleStateEnum = "DELETED"
	ListManagedListTypesLifecycleStateFailed   ListManagedListTypesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListManagedListTypesLifecycleStateEnum

func GetListManagedListTypesLifecycleStateEnumValues ¶

func GetListManagedListTypesLifecycleStateEnumValues() []ListManagedListTypesLifecycleStateEnum

GetListManagedListTypesLifecycleStateEnumValues Enumerates the set of values for ListManagedListTypesLifecycleStateEnum

func GetMappingListManagedListTypesLifecycleStateEnum ¶

func GetMappingListManagedListTypesLifecycleStateEnum(val string) (ListManagedListTypesLifecycleStateEnum, bool)

GetMappingListManagedListTypesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListTypesRequest ¶

type ListManagedListTypesRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field lifecycle 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
	SortOrder ListManagedListTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListManagedListTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListManagedListTypesRequest wrapper for the ListManagedListTypes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListManagedListTypes.go.html to see an example of how to use ListManagedListTypesRequest.

func (ListManagedListTypesRequest) BinaryRequestBody ¶

func (request ListManagedListTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListManagedListTypesRequest) HTTPRequest ¶

func (request ListManagedListTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListManagedListTypesRequest) RetryPolicy ¶

func (request ListManagedListTypesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListManagedListTypesRequest) String ¶

func (request ListManagedListTypesRequest) String() string

func (ListManagedListTypesRequest) ValidateEnumValue ¶

func (request ListManagedListTypesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListManagedListTypesResponse ¶

type ListManagedListTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ManagedListTypeCollection instances
	ManagedListTypeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListManagedListTypesResponse wrapper for the ListManagedListTypes operation

func (ListManagedListTypesResponse) HTTPResponse ¶

func (response ListManagedListTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListManagedListTypesResponse) String ¶

func (response ListManagedListTypesResponse) String() string

type ListManagedListTypesSortByEnum ¶

type ListManagedListTypesSortByEnum string

ListManagedListTypesSortByEnum Enum with underlying type: string

const (
	ListManagedListTypesSortByDisplayname ListManagedListTypesSortByEnum = "displayName"
	ListManagedListTypesSortByRisklevel   ListManagedListTypesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListManagedListTypesSortByEnum

func GetListManagedListTypesSortByEnumValues ¶

func GetListManagedListTypesSortByEnumValues() []ListManagedListTypesSortByEnum

GetListManagedListTypesSortByEnumValues Enumerates the set of values for ListManagedListTypesSortByEnum

func GetMappingListManagedListTypesSortByEnum ¶

func GetMappingListManagedListTypesSortByEnum(val string) (ListManagedListTypesSortByEnum, bool)

GetMappingListManagedListTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListTypesSortOrderEnum ¶

type ListManagedListTypesSortOrderEnum string

ListManagedListTypesSortOrderEnum Enum with underlying type: string

const (
	ListManagedListTypesSortOrderAsc  ListManagedListTypesSortOrderEnum = "ASC"
	ListManagedListTypesSortOrderDesc ListManagedListTypesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedListTypesSortOrderEnum

func GetListManagedListTypesSortOrderEnumValues ¶

func GetListManagedListTypesSortOrderEnumValues() []ListManagedListTypesSortOrderEnum

GetListManagedListTypesSortOrderEnumValues Enumerates the set of values for ListManagedListTypesSortOrderEnum

func GetMappingListManagedListTypesSortOrderEnum ¶

func GetMappingListManagedListTypesSortOrderEnum(val string) (ListManagedListTypesSortOrderEnum, bool)

GetMappingListManagedListTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListsAccessLevelEnum ¶

type ListManagedListsAccessLevelEnum string

ListManagedListsAccessLevelEnum Enum with underlying type: string

const (
	ListManagedListsAccessLevelRestricted ListManagedListsAccessLevelEnum = "RESTRICTED"
	ListManagedListsAccessLevelAccessible ListManagedListsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListManagedListsAccessLevelEnum

func GetListManagedListsAccessLevelEnumValues ¶

func GetListManagedListsAccessLevelEnumValues() []ListManagedListsAccessLevelEnum

GetListManagedListsAccessLevelEnumValues Enumerates the set of values for ListManagedListsAccessLevelEnum

func GetMappingListManagedListsAccessLevelEnum ¶

func GetMappingListManagedListsAccessLevelEnum(val string) (ListManagedListsAccessLevelEnum, bool)

GetMappingListManagedListsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListsLifecycleStateEnum ¶

type ListManagedListsLifecycleStateEnum string

ListManagedListsLifecycleStateEnum Enum with underlying type: string

const (
	ListManagedListsLifecycleStateCreating ListManagedListsLifecycleStateEnum = "CREATING"
	ListManagedListsLifecycleStateUpdating ListManagedListsLifecycleStateEnum = "UPDATING"
	ListManagedListsLifecycleStateActive   ListManagedListsLifecycleStateEnum = "ACTIVE"
	ListManagedListsLifecycleStateInactive ListManagedListsLifecycleStateEnum = "INACTIVE"
	ListManagedListsLifecycleStateDeleting ListManagedListsLifecycleStateEnum = "DELETING"
	ListManagedListsLifecycleStateDeleted  ListManagedListsLifecycleStateEnum = "DELETED"
	ListManagedListsLifecycleStateFailed   ListManagedListsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListManagedListsLifecycleStateEnum

func GetListManagedListsLifecycleStateEnumValues ¶

func GetListManagedListsLifecycleStateEnumValues() []ListManagedListsLifecycleStateEnum

GetListManagedListsLifecycleStateEnumValues Enumerates the set of values for ListManagedListsLifecycleStateEnum

func GetMappingListManagedListsLifecycleStateEnum ¶

func GetMappingListManagedListsLifecycleStateEnum(val string) (ListManagedListsLifecycleStateEnum, bool)

GetMappingListManagedListsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListsListTypeEnum ¶

type ListManagedListsListTypeEnum string

ListManagedListsListTypeEnum Enum with underlying type: string

const (
	ListManagedListsListTypeCidrBlock            ListManagedListsListTypeEnum = "CIDR_BLOCK"
	ListManagedListsListTypeUsers                ListManagedListsListTypeEnum = "USERS"
	ListManagedListsListTypeGroups               ListManagedListsListTypeEnum = "GROUPS"
	ListManagedListsListTypeIpv4address          ListManagedListsListTypeEnum = "IPV4ADDRESS"
	ListManagedListsListTypeIpv6address          ListManagedListsListTypeEnum = "IPV6ADDRESS"
	ListManagedListsListTypeResourceOcid         ListManagedListsListTypeEnum = "RESOURCE_OCID"
	ListManagedListsListTypeRegion               ListManagedListsListTypeEnum = "REGION"
	ListManagedListsListTypeCountry              ListManagedListsListTypeEnum = "COUNTRY"
	ListManagedListsListTypeState                ListManagedListsListTypeEnum = "STATE"
	ListManagedListsListTypeCity                 ListManagedListsListTypeEnum = "CITY"
	ListManagedListsListTypeTags                 ListManagedListsListTypeEnum = "TAGS"
	ListManagedListsListTypeGeneric              ListManagedListsListTypeEnum = "GENERIC"
	ListManagedListsListTypeFusionAppsRole       ListManagedListsListTypeEnum = "FUSION_APPS_ROLE"
	ListManagedListsListTypeFusionAppsPermission ListManagedListsListTypeEnum = "FUSION_APPS_PERMISSION"
)

Set of constants representing the allowable values for ListManagedListsListTypeEnum

func GetListManagedListsListTypeEnumValues ¶

func GetListManagedListsListTypeEnumValues() []ListManagedListsListTypeEnum

GetListManagedListsListTypeEnumValues Enumerates the set of values for ListManagedListsListTypeEnum

func GetMappingListManagedListsListTypeEnum ¶

func GetMappingListManagedListsListTypeEnum(val string) (ListManagedListsListTypeEnum, bool)

GetMappingListManagedListsListTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListsRequest ¶

type ListManagedListsRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Default is false.
	// When set to true, the list of all Oracle-managed resources
	// metadata supported by Cloud Guard is returned.
	ResourceMetadataOnly *bool `mandatory:"false" contributesTo:"query" name:"resourceMetadataOnly"`

	// The field lifecycle 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 managed list.
	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 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
	SortOrder ListManagedListsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListManagedListsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListManagedListsRequest wrapper for the ListManagedLists operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListManagedLists.go.html to see an example of how to use ListManagedListsRequest.

func (ListManagedListsRequest) BinaryRequestBody ¶

func (request ListManagedListsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListManagedListsRequest) HTTPRequest ¶

func (request ListManagedListsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListManagedListsRequest) RetryPolicy ¶

func (request ListManagedListsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListManagedListsRequest) String ¶

func (request ListManagedListsRequest) String() string

func (ListManagedListsRequest) ValidateEnumValue ¶

func (request ListManagedListsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListManagedListsResponse ¶

type ListManagedListsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ManagedListCollection instances
	ManagedListCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListManagedListsResponse wrapper for the ListManagedLists operation

func (ListManagedListsResponse) HTTPResponse ¶

func (response ListManagedListsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListManagedListsResponse) String ¶

func (response ListManagedListsResponse) String() string

type ListManagedListsSortByEnum ¶

type ListManagedListsSortByEnum string

ListManagedListsSortByEnum Enum with underlying type: string

const (
	ListManagedListsSortByTimecreated ListManagedListsSortByEnum = "timeCreated"
	ListManagedListsSortByDisplayname ListManagedListsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedListsSortByEnum

func GetListManagedListsSortByEnumValues ¶

func GetListManagedListsSortByEnumValues() []ListManagedListsSortByEnum

GetListManagedListsSortByEnumValues Enumerates the set of values for ListManagedListsSortByEnum

func GetMappingListManagedListsSortByEnum ¶

func GetMappingListManagedListsSortByEnum(val string) (ListManagedListsSortByEnum, bool)

GetMappingListManagedListsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListsSortOrderEnum ¶

type ListManagedListsSortOrderEnum string

ListManagedListsSortOrderEnum Enum with underlying type: string

const (
	ListManagedListsSortOrderAsc  ListManagedListsSortOrderEnum = "ASC"
	ListManagedListsSortOrderDesc ListManagedListsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedListsSortOrderEnum

func GetListManagedListsSortOrderEnumValues ¶

func GetListManagedListsSortOrderEnumValues() []ListManagedListsSortOrderEnum

GetListManagedListsSortOrderEnumValues Enumerates the set of values for ListManagedListsSortOrderEnum

func GetMappingListManagedListsSortOrderEnum ¶

func GetMappingListManagedListsSortOrderEnum(val string) (ListManagedListsSortOrderEnum, bool)

GetMappingListManagedListsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPoliciesRequest ¶

type ListPoliciesRequest struct {

	// The OCID 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
	SortOrder ListPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListPoliciesRequest wrapper for the ListPolicies operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListPolicies.go.html to see an example of how to use ListPoliciesRequest.

func (ListPoliciesRequest) BinaryRequestBody ¶

func (request ListPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPoliciesRequest) HTTPRequest ¶

func (request ListPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPoliciesRequest) RetryPolicy ¶

func (request ListPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPoliciesRequest) String ¶

func (request ListPoliciesRequest) String() string

func (ListPoliciesRequest) ValidateEnumValue ¶

func (request ListPoliciesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListPoliciesResponse ¶

type ListPoliciesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of PolicyCollection instances
	PolicyCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListPoliciesResponse wrapper for the ListPolicies operation

func (ListPoliciesResponse) HTTPResponse ¶

func (response ListPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPoliciesResponse) String ¶

func (response ListPoliciesResponse) String() string

type ListPoliciesSortByEnum ¶

type ListPoliciesSortByEnum string

ListPoliciesSortByEnum Enum with underlying type: string

const (
	ListPoliciesSortByTimecreated ListPoliciesSortByEnum = "timeCreated"
	ListPoliciesSortByDisplayname ListPoliciesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListPoliciesSortByEnum

func GetListPoliciesSortByEnumValues ¶

func GetListPoliciesSortByEnumValues() []ListPoliciesSortByEnum

GetListPoliciesSortByEnumValues Enumerates the set of values for ListPoliciesSortByEnum

func GetMappingListPoliciesSortByEnum ¶

func GetMappingListPoliciesSortByEnum(val string) (ListPoliciesSortByEnum, bool)

GetMappingListPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPoliciesSortOrderEnum ¶

type ListPoliciesSortOrderEnum string

ListPoliciesSortOrderEnum Enum with underlying type: string

const (
	ListPoliciesSortOrderAsc  ListPoliciesSortOrderEnum = "ASC"
	ListPoliciesSortOrderDesc ListPoliciesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPoliciesSortOrderEnum

func GetListPoliciesSortOrderEnumValues ¶

func GetListPoliciesSortOrderEnumValues() []ListPoliciesSortOrderEnum

GetListPoliciesSortOrderEnumValues Enumerates the set of values for ListPoliciesSortOrderEnum

func GetMappingListPoliciesSortOrderEnum ¶

func GetMappingListPoliciesSortOrderEnum(val string) (ListPoliciesSortOrderEnum, bool)

GetMappingListPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemEndpointsRequest ¶

type ListProblemEndpointsRequest struct {

	// OCID of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use
	SortOrder ListProblemEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListProblemEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListProblemEndpointsRequest wrapper for the ListProblemEndpoints operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListProblemEndpoints.go.html to see an example of how to use ListProblemEndpointsRequest.

func (ListProblemEndpointsRequest) BinaryRequestBody ¶

func (request ListProblemEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProblemEndpointsRequest) HTTPRequest ¶

func (request ListProblemEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProblemEndpointsRequest) RetryPolicy ¶

func (request ListProblemEndpointsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProblemEndpointsRequest) String ¶

func (request ListProblemEndpointsRequest) String() string

func (ListProblemEndpointsRequest) ValidateEnumValue ¶

func (request ListProblemEndpointsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListProblemEndpointsResponse ¶

type ListProblemEndpointsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemEndpointCollection instances
	ProblemEndpointCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListProblemEndpointsResponse wrapper for the ListProblemEndpoints operation

func (ListProblemEndpointsResponse) HTTPResponse ¶

func (response ListProblemEndpointsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProblemEndpointsResponse) String ¶

func (response ListProblemEndpointsResponse) String() string

type ListProblemEndpointsSortByEnum ¶

type ListProblemEndpointsSortByEnum string

ListProblemEndpointsSortByEnum Enum with underlying type: string

const (
	ListProblemEndpointsSortByTimecreated ListProblemEndpointsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListProblemEndpointsSortByEnum

func GetListProblemEndpointsSortByEnumValues ¶

func GetListProblemEndpointsSortByEnumValues() []ListProblemEndpointsSortByEnum

GetListProblemEndpointsSortByEnumValues Enumerates the set of values for ListProblemEndpointsSortByEnum

func GetMappingListProblemEndpointsSortByEnum ¶

func GetMappingListProblemEndpointsSortByEnum(val string) (ListProblemEndpointsSortByEnum, bool)

GetMappingListProblemEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemEndpointsSortOrderEnum ¶

type ListProblemEndpointsSortOrderEnum string

ListProblemEndpointsSortOrderEnum Enum with underlying type: string

const (
	ListProblemEndpointsSortOrderAsc  ListProblemEndpointsSortOrderEnum = "ASC"
	ListProblemEndpointsSortOrderDesc ListProblemEndpointsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProblemEndpointsSortOrderEnum

func GetListProblemEndpointsSortOrderEnumValues ¶

func GetListProblemEndpointsSortOrderEnumValues() []ListProblemEndpointsSortOrderEnum

GetListProblemEndpointsSortOrderEnumValues Enumerates the set of values for ListProblemEndpointsSortOrderEnum

func GetMappingListProblemEndpointsSortOrderEnum ¶

func GetMappingListProblemEndpointsSortOrderEnum(val string) (ListProblemEndpointsSortOrderEnum, bool)

GetMappingListProblemEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemEntitiesRequest ¶ added in v65.17.0

type ListProblemEntitiesRequest struct {

	// OCID of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The sort order to use
	SortOrder ListProblemEntitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListProblemEntitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListProblemEntitiesRequest wrapper for the ListProblemEntities operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListProblemEntities.go.html to see an example of how to use ListProblemEntitiesRequest.

func (ListProblemEntitiesRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ListProblemEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProblemEntitiesRequest) HTTPRequest ¶ added in v65.17.0

func (request ListProblemEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProblemEntitiesRequest) RetryPolicy ¶ added in v65.17.0

func (request ListProblemEntitiesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProblemEntitiesRequest) String ¶ added in v65.17.0

func (request ListProblemEntitiesRequest) String() string

func (ListProblemEntitiesRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ListProblemEntitiesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListProblemEntitiesResponse ¶ added in v65.17.0

type ListProblemEntitiesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemEntityCollection instances
	ProblemEntityCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListProblemEntitiesResponse wrapper for the ListProblemEntities operation

func (ListProblemEntitiesResponse) HTTPResponse ¶ added in v65.17.0

func (response ListProblemEntitiesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProblemEntitiesResponse) String ¶ added in v65.17.0

func (response ListProblemEntitiesResponse) String() string

type ListProblemEntitiesSortByEnum ¶ added in v65.17.0

type ListProblemEntitiesSortByEnum string

ListProblemEntitiesSortByEnum Enum with underlying type: string

const (
	ListProblemEntitiesSortByTimecreated ListProblemEntitiesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListProblemEntitiesSortByEnum

func GetListProblemEntitiesSortByEnumValues ¶ added in v65.17.0

func GetListProblemEntitiesSortByEnumValues() []ListProblemEntitiesSortByEnum

GetListProblemEntitiesSortByEnumValues Enumerates the set of values for ListProblemEntitiesSortByEnum

func GetMappingListProblemEntitiesSortByEnum ¶ added in v65.17.0

func GetMappingListProblemEntitiesSortByEnum(val string) (ListProblemEntitiesSortByEnum, bool)

GetMappingListProblemEntitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemEntitiesSortOrderEnum ¶ added in v65.17.0

type ListProblemEntitiesSortOrderEnum string

ListProblemEntitiesSortOrderEnum Enum with underlying type: string

const (
	ListProblemEntitiesSortOrderAsc  ListProblemEntitiesSortOrderEnum = "ASC"
	ListProblemEntitiesSortOrderDesc ListProblemEntitiesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProblemEntitiesSortOrderEnum

func GetListProblemEntitiesSortOrderEnumValues ¶ added in v65.17.0

func GetListProblemEntitiesSortOrderEnumValues() []ListProblemEntitiesSortOrderEnum

GetListProblemEntitiesSortOrderEnumValues Enumerates the set of values for ListProblemEntitiesSortOrderEnum

func GetMappingListProblemEntitiesSortOrderEnum ¶ added in v65.17.0

func GetMappingListProblemEntitiesSortOrderEnum(val string) (ListProblemEntitiesSortOrderEnum, bool)

GetMappingListProblemEntitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemHistoriesRequest ¶

type ListProblemHistoriesRequest struct {

	// The OCID 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
	SortOrder ListProblemHistoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListProblemHistoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListProblemHistoriesRequest wrapper for the ListProblemHistories operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListProblemHistories.go.html to see an example of how to use ListProblemHistoriesRequest.

func (ListProblemHistoriesRequest) BinaryRequestBody ¶

func (request ListProblemHistoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProblemHistoriesRequest) HTTPRequest ¶

func (request ListProblemHistoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProblemHistoriesRequest) RetryPolicy ¶

func (request ListProblemHistoriesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProblemHistoriesRequest) String ¶

func (request ListProblemHistoriesRequest) String() string

func (ListProblemHistoriesRequest) ValidateEnumValue ¶

func (request ListProblemHistoriesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListProblemHistoriesResponse ¶

type ListProblemHistoriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemHistoryCollection instances
	ProblemHistoryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListProblemHistoriesResponse wrapper for the ListProblemHistories operation

func (ListProblemHistoriesResponse) HTTPResponse ¶

func (response ListProblemHistoriesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProblemHistoriesResponse) String ¶

func (response ListProblemHistoriesResponse) String() string

type ListProblemHistoriesSortByEnum ¶

type ListProblemHistoriesSortByEnum string

ListProblemHistoriesSortByEnum Enum with underlying type: string

const (
	ListProblemHistoriesSortByTimecreated ListProblemHistoriesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListProblemHistoriesSortByEnum

func GetListProblemHistoriesSortByEnumValues ¶

func GetListProblemHistoriesSortByEnumValues() []ListProblemHistoriesSortByEnum

GetListProblemHistoriesSortByEnumValues Enumerates the set of values for ListProblemHistoriesSortByEnum

func GetMappingListProblemHistoriesSortByEnum ¶

func GetMappingListProblemHistoriesSortByEnum(val string) (ListProblemHistoriesSortByEnum, bool)

GetMappingListProblemHistoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemHistoriesSortOrderEnum ¶

type ListProblemHistoriesSortOrderEnum string

ListProblemHistoriesSortOrderEnum Enum with underlying type: string

const (
	ListProblemHistoriesSortOrderAsc  ListProblemHistoriesSortOrderEnum = "ASC"
	ListProblemHistoriesSortOrderDesc ListProblemHistoriesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProblemHistoriesSortOrderEnum

func GetListProblemHistoriesSortOrderEnumValues ¶

func GetListProblemHistoriesSortOrderEnumValues() []ListProblemHistoriesSortOrderEnum

GetListProblemHistoriesSortOrderEnumValues Enumerates the set of values for ListProblemHistoriesSortOrderEnum

func GetMappingListProblemHistoriesSortOrderEnum ¶

func GetMappingListProblemHistoriesSortOrderEnum(val string) (ListProblemHistoriesSortOrderEnum, bool)

GetMappingListProblemHistoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsAccessLevelEnum ¶

type ListProblemsAccessLevelEnum string

ListProblemsAccessLevelEnum Enum with underlying type: string

const (
	ListProblemsAccessLevelRestricted ListProblemsAccessLevelEnum = "RESTRICTED"
	ListProblemsAccessLevelAccessible ListProblemsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListProblemsAccessLevelEnum

func GetListProblemsAccessLevelEnumValues ¶

func GetListProblemsAccessLevelEnumValues() []ListProblemsAccessLevelEnum

GetListProblemsAccessLevelEnumValues Enumerates the set of values for ListProblemsAccessLevelEnum

func GetMappingListProblemsAccessLevelEnum ¶

func GetMappingListProblemsAccessLevelEnum(val string) (ListProblemsAccessLevelEnum, bool)

GetMappingListProblemsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsDetectorTypeEnum ¶

type ListProblemsDetectorTypeEnum string

ListProblemsDetectorTypeEnum Enum with underlying type: string

const (
	ListProblemsDetectorTypeActivityDetector         ListProblemsDetectorTypeEnum = "IAAS_ACTIVITY_DETECTOR"
	ListProblemsDetectorTypeConfigurationDetector    ListProblemsDetectorTypeEnum = "IAAS_CONFIGURATION_DETECTOR"
	ListProblemsDetectorTypeThreatDetector           ListProblemsDetectorTypeEnum = "IAAS_THREAT_DETECTOR"
	ListProblemsDetectorTypeLogInsightDetector       ListProblemsDetectorTypeEnum = "IAAS_LOG_INSIGHT_DETECTOR"
	ListProblemsDetectorTypeInstanceSecurityDetector ListProblemsDetectorTypeEnum = "IAAS_INSTANCE_SECURITY_DETECTOR"
)

Set of constants representing the allowable values for ListProblemsDetectorTypeEnum

func GetListProblemsDetectorTypeEnumValues ¶

func GetListProblemsDetectorTypeEnumValues() []ListProblemsDetectorTypeEnum

GetListProblemsDetectorTypeEnumValues Enumerates the set of values for ListProblemsDetectorTypeEnum

func GetMappingListProblemsDetectorTypeEnum ¶

func GetMappingListProblemsDetectorTypeEnum(val string) (ListProblemsDetectorTypeEnum, bool)

GetMappingListProblemsDetectorTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsLifecycleDetailEnum ¶

type ListProblemsLifecycleDetailEnum string

ListProblemsLifecycleDetailEnum Enum with underlying type: string

const (
	ListProblemsLifecycleDetailOpen      ListProblemsLifecycleDetailEnum = "OPEN"
	ListProblemsLifecycleDetailResolved  ListProblemsLifecycleDetailEnum = "RESOLVED"
	ListProblemsLifecycleDetailDismissed ListProblemsLifecycleDetailEnum = "DISMISSED"
	ListProblemsLifecycleDetailDeleted   ListProblemsLifecycleDetailEnum = "DELETED"
)

Set of constants representing the allowable values for ListProblemsLifecycleDetailEnum

func GetListProblemsLifecycleDetailEnumValues ¶

func GetListProblemsLifecycleDetailEnumValues() []ListProblemsLifecycleDetailEnum

GetListProblemsLifecycleDetailEnumValues Enumerates the set of values for ListProblemsLifecycleDetailEnum

func GetMappingListProblemsLifecycleDetailEnum ¶

func GetMappingListProblemsLifecycleDetailEnum(val string) (ListProblemsLifecycleDetailEnum, bool)

GetMappingListProblemsLifecycleDetailEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsLifecycleStateEnum ¶

type ListProblemsLifecycleStateEnum string

ListProblemsLifecycleStateEnum Enum with underlying type: string

const (
	ListProblemsLifecycleStateActive   ListProblemsLifecycleStateEnum = "ACTIVE"
	ListProblemsLifecycleStateInactive ListProblemsLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for ListProblemsLifecycleStateEnum

func GetListProblemsLifecycleStateEnumValues ¶

func GetListProblemsLifecycleStateEnumValues() []ListProblemsLifecycleStateEnum

GetListProblemsLifecycleStateEnumValues Enumerates the set of values for ListProblemsLifecycleStateEnum

func GetMappingListProblemsLifecycleStateEnum ¶

func GetMappingListProblemsLifecycleStateEnum(val string) (ListProblemsLifecycleStateEnum, bool)

GetMappingListProblemsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsProblemCategoryEnum ¶ added in v65.3.0

type ListProblemsProblemCategoryEnum string

ListProblemsProblemCategoryEnum Enum with underlying type: string

const (
	ListProblemsProblemCategorySecurityZone ListProblemsProblemCategoryEnum = "SECURITY_ZONE"
)

Set of constants representing the allowable values for ListProblemsProblemCategoryEnum

func GetListProblemsProblemCategoryEnumValues ¶ added in v65.3.0

func GetListProblemsProblemCategoryEnumValues() []ListProblemsProblemCategoryEnum

GetListProblemsProblemCategoryEnumValues Enumerates the set of values for ListProblemsProblemCategoryEnum

func GetMappingListProblemsProblemCategoryEnum ¶ added in v65.3.0

func GetMappingListProblemsProblemCategoryEnum(val string) (ListProblemsProblemCategoryEnum, bool)

GetMappingListProblemsProblemCategoryEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsRequest ¶

type ListProblemsRequest struct {

	// The OCID 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.
	LifecycleDetail ListProblemsLifecycleDetailEnum `mandatory:"false" contributesTo:"query" name:"lifecycleDetail" omitEmpty:"true"`

	// The field lifecycle 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 or province of the problem.
	State *string `mandatory:"false" contributesTo:"query" name:"state"`

	// Country of the problem.
	Country *string `mandatory:"false" contributesTo:"query" name:"country"`

	// User-defined 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.
	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 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
	SortOrder ListProblemsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for riskLevel, timeLastDetected and resourceName is descending. Default order for riskLevel and resourceName is ascending. If no value is specified timeLastDetected is default.
	SortBy ListProblemsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListProblemsRequest wrapper for the ListProblems operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListProblems.go.html to see an example of how to use ListProblemsRequest.

func (ListProblemsRequest) BinaryRequestBody ¶

func (request ListProblemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProblemsRequest) HTTPRequest ¶

func (request ListProblemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProblemsRequest) RetryPolicy ¶

func (request ListProblemsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProblemsRequest) String ¶

func (request ListProblemsRequest) String() string

func (ListProblemsRequest) ValidateEnumValue ¶

func (request ListProblemsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListProblemsResponse ¶

type ListProblemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemCollection instances
	ProblemCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListProblemsResponse wrapper for the ListProblems operation

func (ListProblemsResponse) HTTPResponse ¶

func (response ListProblemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProblemsResponse) String ¶

func (response ListProblemsResponse) String() string

type ListProblemsSortByEnum ¶

type ListProblemsSortByEnum string

ListProblemsSortByEnum Enum with underlying type: string

const (
	ListProblemsSortByRisklevel        ListProblemsSortByEnum = "riskLevel"
	ListProblemsSortByTimelastdetected ListProblemsSortByEnum = "timeLastDetected"
	ListProblemsSortByResourcename     ListProblemsSortByEnum = "resourceName"
)

Set of constants representing the allowable values for ListProblemsSortByEnum

func GetListProblemsSortByEnumValues ¶

func GetListProblemsSortByEnumValues() []ListProblemsSortByEnum

GetListProblemsSortByEnumValues Enumerates the set of values for ListProblemsSortByEnum

func GetMappingListProblemsSortByEnum ¶

func GetMappingListProblemsSortByEnum(val string) (ListProblemsSortByEnum, bool)

GetMappingListProblemsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsSortOrderEnum ¶

type ListProblemsSortOrderEnum string

ListProblemsSortOrderEnum Enum with underlying type: string

const (
	ListProblemsSortOrderAsc  ListProblemsSortOrderEnum = "ASC"
	ListProblemsSortOrderDesc ListProblemsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProblemsSortOrderEnum

func GetListProblemsSortOrderEnumValues ¶

func GetListProblemsSortOrderEnumValues() []ListProblemsSortOrderEnum

GetListProblemsSortOrderEnumValues Enumerates the set of values for ListProblemsSortOrderEnum

func GetMappingListProblemsSortOrderEnum ¶

func GetMappingListProblemsSortOrderEnum(val string) (ListProblemsSortOrderEnum, bool)

GetMappingListProblemsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRecommendationsAccessLevelEnum ¶

type ListRecommendationsAccessLevelEnum string

ListRecommendationsAccessLevelEnum Enum with underlying type: string

const (
	ListRecommendationsAccessLevelRestricted ListRecommendationsAccessLevelEnum = "RESTRICTED"
	ListRecommendationsAccessLevelAccessible ListRecommendationsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListRecommendationsAccessLevelEnum

func GetListRecommendationsAccessLevelEnumValues ¶

func GetListRecommendationsAccessLevelEnumValues() []ListRecommendationsAccessLevelEnum

GetListRecommendationsAccessLevelEnumValues Enumerates the set of values for ListRecommendationsAccessLevelEnum

func GetMappingListRecommendationsAccessLevelEnum ¶

func GetMappingListRecommendationsAccessLevelEnum(val string) (ListRecommendationsAccessLevelEnum, bool)

GetMappingListRecommendationsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRecommendationsLifecycleDetailEnum ¶

type ListRecommendationsLifecycleDetailEnum string

ListRecommendationsLifecycleDetailEnum Enum with underlying type: string

const (
	ListRecommendationsLifecycleDetailOpen      ListRecommendationsLifecycleDetailEnum = "OPEN"
	ListRecommendationsLifecycleDetailResolved  ListRecommendationsLifecycleDetailEnum = "RESOLVED"
	ListRecommendationsLifecycleDetailDismissed ListRecommendationsLifecycleDetailEnum = "DISMISSED"
)

Set of constants representing the allowable values for ListRecommendationsLifecycleDetailEnum

func GetListRecommendationsLifecycleDetailEnumValues ¶

func GetListRecommendationsLifecycleDetailEnumValues() []ListRecommendationsLifecycleDetailEnum

GetListRecommendationsLifecycleDetailEnumValues Enumerates the set of values for ListRecommendationsLifecycleDetailEnum

func GetMappingListRecommendationsLifecycleDetailEnum ¶

func GetMappingListRecommendationsLifecycleDetailEnum(val string) (ListRecommendationsLifecycleDetailEnum, bool)

GetMappingListRecommendationsLifecycleDetailEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRecommendationsLifecycleStateEnum ¶

type ListRecommendationsLifecycleStateEnum string

ListRecommendationsLifecycleStateEnum Enum with underlying type: string

const (
	ListRecommendationsLifecycleStateCreating ListRecommendationsLifecycleStateEnum = "CREATING"
	ListRecommendationsLifecycleStateUpdating ListRecommendationsLifecycleStateEnum = "UPDATING"
	ListRecommendationsLifecycleStateActive   ListRecommendationsLifecycleStateEnum = "ACTIVE"
	ListRecommendationsLifecycleStateInactive ListRecommendationsLifecycleStateEnum = "INACTIVE"
	ListRecommendationsLifecycleStateDeleting ListRecommendationsLifecycleStateEnum = "DELETING"
	ListRecommendationsLifecycleStateDeleted  ListRecommendationsLifecycleStateEnum = "DELETED"
	ListRecommendationsLifecycleStateFailed   ListRecommendationsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListRecommendationsLifecycleStateEnum

func GetListRecommendationsLifecycleStateEnumValues ¶

func GetListRecommendationsLifecycleStateEnumValues() []ListRecommendationsLifecycleStateEnum

GetListRecommendationsLifecycleStateEnumValues Enumerates the set of values for ListRecommendationsLifecycleStateEnum

func GetMappingListRecommendationsLifecycleStateEnum ¶

func GetMappingListRecommendationsLifecycleStateEnum(val string) (ListRecommendationsLifecycleStateEnum, bool)

GetMappingListRecommendationsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRecommendationsRequest ¶

type ListRecommendationsRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The sort order to use
	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 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 lifecycle 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 lifecycle state. Only one state can be provided. Default value for state is active.
	LifecycleDetail ListRecommendationsLifecycleDetailEnum `mandatory:"false" contributesTo:"query" name:"lifecycleDetail" omitEmpty:"true"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListRecommendationsRequest wrapper for the ListRecommendations operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListRecommendations.go.html to see an example of how to use ListRecommendationsRequest.

func (ListRecommendationsRequest) BinaryRequestBody ¶

func (request ListRecommendationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListRecommendationsRequest) HTTPRequest ¶

func (request ListRecommendationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListRecommendationsRequest) RetryPolicy ¶

func (request ListRecommendationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListRecommendationsRequest) String ¶

func (request ListRecommendationsRequest) String() string

func (ListRecommendationsRequest) ValidateEnumValue ¶

func (request ListRecommendationsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListRecommendationsResponse ¶

type ListRecommendationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of RecommendationSummaryCollection instances
	RecommendationSummaryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListRecommendationsResponse wrapper for the ListRecommendations operation

func (ListRecommendationsResponse) HTTPResponse ¶

func (response ListRecommendationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListRecommendationsResponse) String ¶

func (response ListRecommendationsResponse) String() string

type ListRecommendationsSortByEnum ¶

type ListRecommendationsSortByEnum string

ListRecommendationsSortByEnum Enum with underlying type: string

const (
	ListRecommendationsSortByRisklevel   ListRecommendationsSortByEnum = "riskLevel"
	ListRecommendationsSortByTimecreated ListRecommendationsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListRecommendationsSortByEnum

func GetListRecommendationsSortByEnumValues ¶

func GetListRecommendationsSortByEnumValues() []ListRecommendationsSortByEnum

GetListRecommendationsSortByEnumValues Enumerates the set of values for ListRecommendationsSortByEnum

func GetMappingListRecommendationsSortByEnum ¶

func GetMappingListRecommendationsSortByEnum(val string) (ListRecommendationsSortByEnum, bool)

GetMappingListRecommendationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRecommendationsSortOrderEnum ¶

type ListRecommendationsSortOrderEnum string

ListRecommendationsSortOrderEnum Enum with underlying type: string

const (
	ListRecommendationsSortOrderAsc  ListRecommendationsSortOrderEnum = "ASC"
	ListRecommendationsSortOrderDesc ListRecommendationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListRecommendationsSortOrderEnum

func GetListRecommendationsSortOrderEnumValues ¶

func GetListRecommendationsSortOrderEnumValues() []ListRecommendationsSortOrderEnum

GetListRecommendationsSortOrderEnumValues Enumerates the set of values for ListRecommendationsSortOrderEnum

func GetMappingListRecommendationsSortOrderEnum ¶

func GetMappingListRecommendationsSortOrderEnum(val string) (ListRecommendationsSortOrderEnum, bool)

GetMappingListRecommendationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourcePortsRequest ¶ added in v65.64.0

type ListResourcePortsRequest struct {

	// CloudGuard resource OCID
	ResourceId *string `mandatory:"true" contributesTo:"path" name:"resourceId"`

	// open port associated with the resource.
	OpenPort *string `mandatory:"false" contributesTo:"query" name:"openPort"`

	// 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
	SortOrder ListResourcePortsSortOrderEnum `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 ListResourcePortsSortByEnum `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
}

ListResourcePortsRequest wrapper for the ListResourcePorts operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResourcePorts.go.html to see an example of how to use ListResourcePortsRequest.

func (ListResourcePortsRequest) BinaryRequestBody ¶ added in v65.64.0

func (request ListResourcePortsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResourcePortsRequest) HTTPRequest ¶ added in v65.64.0

func (request ListResourcePortsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourcePortsRequest) RetryPolicy ¶ added in v65.64.0

func (request ListResourcePortsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResourcePortsRequest) String ¶ added in v65.64.0

func (request ListResourcePortsRequest) String() string

func (ListResourcePortsRequest) ValidateEnumValue ¶ added in v65.64.0

func (request ListResourcePortsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResourcePortsResponse ¶ added in v65.64.0

type ListResourcePortsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourcePortCollection instances
	ResourcePortCollection `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"`
}

ListResourcePortsResponse wrapper for the ListResourcePorts operation

func (ListResourcePortsResponse) HTTPResponse ¶ added in v65.64.0

func (response ListResourcePortsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResourcePortsResponse) String ¶ added in v65.64.0

func (response ListResourcePortsResponse) String() string

type ListResourcePortsSortByEnum ¶ added in v65.64.0

type ListResourcePortsSortByEnum string

ListResourcePortsSortByEnum Enum with underlying type: string

const (
	ListResourcePortsSortByTimecreated ListResourcePortsSortByEnum = "timeCreated"
	ListResourcePortsSortByDisplayname ListResourcePortsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListResourcePortsSortByEnum

func GetListResourcePortsSortByEnumValues ¶ added in v65.64.0

func GetListResourcePortsSortByEnumValues() []ListResourcePortsSortByEnum

GetListResourcePortsSortByEnumValues Enumerates the set of values for ListResourcePortsSortByEnum

func GetMappingListResourcePortsSortByEnum ¶ added in v65.64.0

func GetMappingListResourcePortsSortByEnum(val string) (ListResourcePortsSortByEnum, bool)

GetMappingListResourcePortsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourcePortsSortOrderEnum ¶ added in v65.64.0

type ListResourcePortsSortOrderEnum string

ListResourcePortsSortOrderEnum Enum with underlying type: string

const (
	ListResourcePortsSortOrderAsc  ListResourcePortsSortOrderEnum = "ASC"
	ListResourcePortsSortOrderDesc ListResourcePortsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourcePortsSortOrderEnum

func GetListResourcePortsSortOrderEnumValues ¶ added in v65.64.0

func GetListResourcePortsSortOrderEnumValues() []ListResourcePortsSortOrderEnum

GetListResourcePortsSortOrderEnumValues Enumerates the set of values for ListResourcePortsSortOrderEnum

func GetMappingListResourcePortsSortOrderEnum ¶ added in v65.64.0

func GetMappingListResourcePortsSortOrderEnum(val string) (ListResourcePortsSortOrderEnum, bool)

GetMappingListResourcePortsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfileEndpointsRequest ¶

type ListResourceProfileEndpointsRequest struct {

	// OCID of the resource profile.
	ResourceProfileId *string `mandatory:"true" contributesTo:"path" name:"resourceProfileId"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use
	SortOrder ListResourceProfileEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListResourceProfileEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResourceProfileEndpointsRequest wrapper for the ListResourceProfileEndpoints operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResourceProfileEndpoints.go.html to see an example of how to use ListResourceProfileEndpointsRequest.

func (ListResourceProfileEndpointsRequest) BinaryRequestBody ¶

func (request ListResourceProfileEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResourceProfileEndpointsRequest) HTTPRequest ¶

func (request ListResourceProfileEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourceProfileEndpointsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResourceProfileEndpointsRequest) String ¶

func (ListResourceProfileEndpointsRequest) ValidateEnumValue ¶

func (request ListResourceProfileEndpointsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResourceProfileEndpointsResponse ¶

type ListResourceProfileEndpointsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceProfileEndpointCollection instances
	ResourceProfileEndpointCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResourceProfileEndpointsResponse wrapper for the ListResourceProfileEndpoints operation

func (ListResourceProfileEndpointsResponse) HTTPResponse ¶

func (response ListResourceProfileEndpointsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResourceProfileEndpointsResponse) String ¶

func (response ListResourceProfileEndpointsResponse) String() string

type ListResourceProfileEndpointsSortByEnum ¶

type ListResourceProfileEndpointsSortByEnum string

ListResourceProfileEndpointsSortByEnum Enum with underlying type: string

const (
	ListResourceProfileEndpointsSortByTimecreated ListResourceProfileEndpointsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListResourceProfileEndpointsSortByEnum

func GetListResourceProfileEndpointsSortByEnumValues ¶

func GetListResourceProfileEndpointsSortByEnumValues() []ListResourceProfileEndpointsSortByEnum

GetListResourceProfileEndpointsSortByEnumValues Enumerates the set of values for ListResourceProfileEndpointsSortByEnum

func GetMappingListResourceProfileEndpointsSortByEnum ¶

func GetMappingListResourceProfileEndpointsSortByEnum(val string) (ListResourceProfileEndpointsSortByEnum, bool)

GetMappingListResourceProfileEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfileEndpointsSortOrderEnum ¶

type ListResourceProfileEndpointsSortOrderEnum string

ListResourceProfileEndpointsSortOrderEnum Enum with underlying type: string

const (
	ListResourceProfileEndpointsSortOrderAsc  ListResourceProfileEndpointsSortOrderEnum = "ASC"
	ListResourceProfileEndpointsSortOrderDesc ListResourceProfileEndpointsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourceProfileEndpointsSortOrderEnum

func GetListResourceProfileEndpointsSortOrderEnumValues ¶

func GetListResourceProfileEndpointsSortOrderEnumValues() []ListResourceProfileEndpointsSortOrderEnum

GetListResourceProfileEndpointsSortOrderEnumValues Enumerates the set of values for ListResourceProfileEndpointsSortOrderEnum

func GetMappingListResourceProfileEndpointsSortOrderEnum ¶

func GetMappingListResourceProfileEndpointsSortOrderEnum(val string) (ListResourceProfileEndpointsSortOrderEnum, bool)

GetMappingListResourceProfileEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfileImpactedResourcesRequest ¶

type ListResourceProfileImpactedResourcesRequest struct {

	// OCID of the resource profile.
	ResourceProfileId *string `mandatory:"true" contributesTo:"path" name:"resourceProfileId"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use
	SortOrder ListResourceProfileImpactedResourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListResourceProfileImpactedResourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResourceProfileImpactedResourcesRequest wrapper for the ListResourceProfileImpactedResources operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResourceProfileImpactedResources.go.html to see an example of how to use ListResourceProfileImpactedResourcesRequest.

func (ListResourceProfileImpactedResourcesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListResourceProfileImpactedResourcesRequest) HTTPRequest ¶

func (request ListResourceProfileImpactedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourceProfileImpactedResourcesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResourceProfileImpactedResourcesRequest) String ¶

func (ListResourceProfileImpactedResourcesRequest) ValidateEnumValue ¶

func (request ListResourceProfileImpactedResourcesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResourceProfileImpactedResourcesResponse ¶

type ListResourceProfileImpactedResourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceProfileImpactedResourceCollection instances
	ResourceProfileImpactedResourceCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResourceProfileImpactedResourcesResponse wrapper for the ListResourceProfileImpactedResources operation

func (ListResourceProfileImpactedResourcesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListResourceProfileImpactedResourcesResponse) String ¶

type ListResourceProfileImpactedResourcesSortByEnum ¶

type ListResourceProfileImpactedResourcesSortByEnum string

ListResourceProfileImpactedResourcesSortByEnum Enum with underlying type: string

const (
	ListResourceProfileImpactedResourcesSortByTimecreated ListResourceProfileImpactedResourcesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListResourceProfileImpactedResourcesSortByEnum

func GetListResourceProfileImpactedResourcesSortByEnumValues ¶

func GetListResourceProfileImpactedResourcesSortByEnumValues() []ListResourceProfileImpactedResourcesSortByEnum

GetListResourceProfileImpactedResourcesSortByEnumValues Enumerates the set of values for ListResourceProfileImpactedResourcesSortByEnum

func GetMappingListResourceProfileImpactedResourcesSortByEnum ¶

func GetMappingListResourceProfileImpactedResourcesSortByEnum(val string) (ListResourceProfileImpactedResourcesSortByEnum, bool)

GetMappingListResourceProfileImpactedResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfileImpactedResourcesSortOrderEnum ¶

type ListResourceProfileImpactedResourcesSortOrderEnum string

ListResourceProfileImpactedResourcesSortOrderEnum Enum with underlying type: string

const (
	ListResourceProfileImpactedResourcesSortOrderAsc  ListResourceProfileImpactedResourcesSortOrderEnum = "ASC"
	ListResourceProfileImpactedResourcesSortOrderDesc ListResourceProfileImpactedResourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourceProfileImpactedResourcesSortOrderEnum

func GetListResourceProfileImpactedResourcesSortOrderEnumValues ¶

func GetListResourceProfileImpactedResourcesSortOrderEnumValues() []ListResourceProfileImpactedResourcesSortOrderEnum

GetListResourceProfileImpactedResourcesSortOrderEnumValues Enumerates the set of values for ListResourceProfileImpactedResourcesSortOrderEnum

func GetMappingListResourceProfileImpactedResourcesSortOrderEnum ¶

func GetMappingListResourceProfileImpactedResourcesSortOrderEnum(val string) (ListResourceProfileImpactedResourcesSortOrderEnum, bool)

GetMappingListResourceProfileImpactedResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfilesAccessLevelEnum ¶

type ListResourceProfilesAccessLevelEnum string

ListResourceProfilesAccessLevelEnum Enum with underlying type: string

const (
	ListResourceProfilesAccessLevelRestricted ListResourceProfilesAccessLevelEnum = "RESTRICTED"
	ListResourceProfilesAccessLevelAccessible ListResourceProfilesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListResourceProfilesAccessLevelEnum

func GetListResourceProfilesAccessLevelEnumValues ¶

func GetListResourceProfilesAccessLevelEnumValues() []ListResourceProfilesAccessLevelEnum

GetListResourceProfilesAccessLevelEnumValues Enumerates the set of values for ListResourceProfilesAccessLevelEnum

func GetMappingListResourceProfilesAccessLevelEnum ¶

func GetMappingListResourceProfilesAccessLevelEnum(val string) (ListResourceProfilesAccessLevelEnum, bool)

GetMappingListResourceProfilesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfilesRequest ¶

type ListResourceProfilesRequest struct {

	// The OCID 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 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
	SortOrder ListResourceProfilesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort resource profiles. Only one sort order may be provided. Default order for timeLastDetected is descending. If no value is specified timeLastDetected is default.
	SortBy ListResourceProfilesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResourceProfilesRequest wrapper for the ListResourceProfiles operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResourceProfiles.go.html to see an example of how to use ListResourceProfilesRequest.

func (ListResourceProfilesRequest) BinaryRequestBody ¶

func (request ListResourceProfilesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResourceProfilesRequest) HTTPRequest ¶

func (request ListResourceProfilesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourceProfilesRequest) RetryPolicy ¶

func (request ListResourceProfilesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResourceProfilesRequest) String ¶

func (request ListResourceProfilesRequest) String() string

func (ListResourceProfilesRequest) ValidateEnumValue ¶

func (request ListResourceProfilesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResourceProfilesResponse ¶

type ListResourceProfilesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceProfileCollection instances
	ResourceProfileCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResourceProfilesResponse wrapper for the ListResourceProfiles operation

func (ListResourceProfilesResponse) HTTPResponse ¶

func (response ListResourceProfilesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResourceProfilesResponse) String ¶

func (response ListResourceProfilesResponse) String() string

type ListResourceProfilesSortByEnum ¶

type ListResourceProfilesSortByEnum string

ListResourceProfilesSortByEnum Enum with underlying type: string

const (
	ListResourceProfilesSortByRiskscore         ListResourceProfilesSortByEnum = "riskScore"
	ListResourceProfilesSortByRiskscoregrowth   ListResourceProfilesSortByEnum = "riskScoreGrowth"
	ListResourceProfilesSortByTimefirstdetected ListResourceProfilesSortByEnum = "timeFirstDetected"
	ListResourceProfilesSortByTimelastdetected  ListResourceProfilesSortByEnum = "timeLastDetected"
	ListResourceProfilesSortBySightingscount    ListResourceProfilesSortByEnum = "sightingsCount"
	ListResourceProfilesSortByDisplayname       ListResourceProfilesSortByEnum = "displayName"
	ListResourceProfilesSortByType              ListResourceProfilesSortByEnum = "type"
)

Set of constants representing the allowable values for ListResourceProfilesSortByEnum

func GetListResourceProfilesSortByEnumValues ¶

func GetListResourceProfilesSortByEnumValues() []ListResourceProfilesSortByEnum

GetListResourceProfilesSortByEnumValues Enumerates the set of values for ListResourceProfilesSortByEnum

func GetMappingListResourceProfilesSortByEnum ¶

func GetMappingListResourceProfilesSortByEnum(val string) (ListResourceProfilesSortByEnum, bool)

GetMappingListResourceProfilesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfilesSortOrderEnum ¶

type ListResourceProfilesSortOrderEnum string

ListResourceProfilesSortOrderEnum Enum with underlying type: string

const (
	ListResourceProfilesSortOrderAsc  ListResourceProfilesSortOrderEnum = "ASC"
	ListResourceProfilesSortOrderDesc ListResourceProfilesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourceProfilesSortOrderEnum

func GetListResourceProfilesSortOrderEnumValues ¶

func GetListResourceProfilesSortOrderEnumValues() []ListResourceProfilesSortOrderEnum

GetListResourceProfilesSortOrderEnumValues Enumerates the set of values for ListResourceProfilesSortOrderEnum

func GetMappingListResourceProfilesSortOrderEnum ¶

func GetMappingListResourceProfilesSortOrderEnum(val string) (ListResourceProfilesSortOrderEnum, bool)

GetMappingListResourceProfilesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceTypesDetectorIdEnum ¶

type ListResourceTypesDetectorIdEnum string

ListResourceTypesDetectorIdEnum Enum with underlying type: string

const (
	ListResourceTypesDetectorIdActivityDetector         ListResourceTypesDetectorIdEnum = "IAAS_ACTIVITY_DETECTOR"
	ListResourceTypesDetectorIdConfigurationDetector    ListResourceTypesDetectorIdEnum = "IAAS_CONFIGURATION_DETECTOR"
	ListResourceTypesDetectorIdThreatDetector           ListResourceTypesDetectorIdEnum = "IAAS_THREAT_DETECTOR"
	ListResourceTypesDetectorIdLogInsightDetector       ListResourceTypesDetectorIdEnum = "IAAS_LOG_INSIGHT_DETECTOR"
	ListResourceTypesDetectorIdInstanceSecurityDetector ListResourceTypesDetectorIdEnum = "IAAS_INSTANCE_SECURITY_DETECTOR"
)

Set of constants representing the allowable values for ListResourceTypesDetectorIdEnum

func GetListResourceTypesDetectorIdEnumValues ¶

func GetListResourceTypesDetectorIdEnumValues() []ListResourceTypesDetectorIdEnum

GetListResourceTypesDetectorIdEnumValues Enumerates the set of values for ListResourceTypesDetectorIdEnum

func GetMappingListResourceTypesDetectorIdEnum ¶

func GetMappingListResourceTypesDetectorIdEnum(val string) (ListResourceTypesDetectorIdEnum, bool)

GetMappingListResourceTypesDetectorIdEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceTypesLifecycleStateEnum ¶

type ListResourceTypesLifecycleStateEnum string

ListResourceTypesLifecycleStateEnum Enum with underlying type: string

const (
	ListResourceTypesLifecycleStateCreating ListResourceTypesLifecycleStateEnum = "CREATING"
	ListResourceTypesLifecycleStateUpdating ListResourceTypesLifecycleStateEnum = "UPDATING"
	ListResourceTypesLifecycleStateActive   ListResourceTypesLifecycleStateEnum = "ACTIVE"
	ListResourceTypesLifecycleStateInactive ListResourceTypesLifecycleStateEnum = "INACTIVE"
	ListResourceTypesLifecycleStateDeleting ListResourceTypesLifecycleStateEnum = "DELETING"
	ListResourceTypesLifecycleStateDeleted  ListResourceTypesLifecycleStateEnum = "DELETED"
	ListResourceTypesLifecycleStateFailed   ListResourceTypesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListResourceTypesLifecycleStateEnum

func GetListResourceTypesLifecycleStateEnumValues ¶

func GetListResourceTypesLifecycleStateEnumValues() []ListResourceTypesLifecycleStateEnum

GetListResourceTypesLifecycleStateEnumValues Enumerates the set of values for ListResourceTypesLifecycleStateEnum

func GetMappingListResourceTypesLifecycleStateEnum ¶

func GetMappingListResourceTypesLifecycleStateEnum(val string) (ListResourceTypesLifecycleStateEnum, bool)

GetMappingListResourceTypesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceTypesRequest ¶

type ListResourceTypesRequest struct {

	// The OCID 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 lifecycle 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
	SortOrder ListResourceTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListResourceTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResourceTypesRequest wrapper for the ListResourceTypes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResourceTypes.go.html to see an example of how to use ListResourceTypesRequest.

func (ListResourceTypesRequest) BinaryRequestBody ¶

func (request ListResourceTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResourceTypesRequest) HTTPRequest ¶

func (request ListResourceTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourceTypesRequest) RetryPolicy ¶

func (request ListResourceTypesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResourceTypesRequest) String ¶

func (request ListResourceTypesRequest) String() string

func (ListResourceTypesRequest) ValidateEnumValue ¶

func (request ListResourceTypesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResourceTypesResponse ¶

type ListResourceTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceTypeCollection instances
	ResourceTypeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResourceTypesResponse wrapper for the ListResourceTypes operation

func (ListResourceTypesResponse) HTTPResponse ¶

func (response ListResourceTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResourceTypesResponse) String ¶

func (response ListResourceTypesResponse) String() string

type ListResourceTypesSortByEnum ¶

type ListResourceTypesSortByEnum string

ListResourceTypesSortByEnum Enum with underlying type: string

const (
	ListResourceTypesSortByDisplayname ListResourceTypesSortByEnum = "displayName"
	ListResourceTypesSortByRisklevel   ListResourceTypesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListResourceTypesSortByEnum

func GetListResourceTypesSortByEnumValues ¶

func GetListResourceTypesSortByEnumValues() []ListResourceTypesSortByEnum

GetListResourceTypesSortByEnumValues Enumerates the set of values for ListResourceTypesSortByEnum

func GetMappingListResourceTypesSortByEnum ¶

func GetMappingListResourceTypesSortByEnum(val string) (ListResourceTypesSortByEnum, bool)

GetMappingListResourceTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceTypesSortOrderEnum ¶

type ListResourceTypesSortOrderEnum string

ListResourceTypesSortOrderEnum Enum with underlying type: string

const (
	ListResourceTypesSortOrderAsc  ListResourceTypesSortOrderEnum = "ASC"
	ListResourceTypesSortOrderDesc ListResourceTypesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourceTypesSortOrderEnum

func GetListResourceTypesSortOrderEnumValues ¶

func GetListResourceTypesSortOrderEnumValues() []ListResourceTypesSortOrderEnum

GetListResourceTypesSortOrderEnumValues Enumerates the set of values for ListResourceTypesSortOrderEnum

func GetMappingListResourceTypesSortOrderEnum ¶

func GetMappingListResourceTypesSortOrderEnum(val string) (ListResourceTypesSortOrderEnum, bool)

GetMappingListResourceTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceVulnerabilitiesRequest ¶ added in v65.64.0

type ListResourceVulnerabilitiesRequest struct {

	// CloudGuard resource OCID
	ResourceId *string `mandatory:"true" contributesTo:"path" name:"resourceId"`

	// CVE ID associated with the resource.
	CveId *string `mandatory:"false" contributesTo:"query" name:"cveId"`

	// Risk level of the problem.
	RiskLevel *string `mandatory:"false" contributesTo:"query" name:"riskLevel"`

	// 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
	SortOrder ListResourceVulnerabilitiesSortOrderEnum `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 ListResourceVulnerabilitiesSortByEnum `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
}

ListResourceVulnerabilitiesRequest wrapper for the ListResourceVulnerabilities operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResourceVulnerabilities.go.html to see an example of how to use ListResourceVulnerabilitiesRequest.

func (ListResourceVulnerabilitiesRequest) BinaryRequestBody ¶ added in v65.64.0

func (request ListResourceVulnerabilitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResourceVulnerabilitiesRequest) HTTPRequest ¶ added in v65.64.0

func (request ListResourceVulnerabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourceVulnerabilitiesRequest) RetryPolicy ¶ added in v65.64.0

func (request ListResourceVulnerabilitiesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResourceVulnerabilitiesRequest) String ¶ added in v65.64.0

func (request ListResourceVulnerabilitiesRequest) String() string

func (ListResourceVulnerabilitiesRequest) ValidateEnumValue ¶ added in v65.64.0

func (request ListResourceVulnerabilitiesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResourceVulnerabilitiesResponse ¶ added in v65.64.0

type ListResourceVulnerabilitiesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceVulnerabilityCollection instances
	ResourceVulnerabilityCollection `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"`
}

ListResourceVulnerabilitiesResponse wrapper for the ListResourceVulnerabilities operation

func (ListResourceVulnerabilitiesResponse) HTTPResponse ¶ added in v65.64.0

func (response ListResourceVulnerabilitiesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResourceVulnerabilitiesResponse) String ¶ added in v65.64.0

func (response ListResourceVulnerabilitiesResponse) String() string

type ListResourceVulnerabilitiesSortByEnum ¶ added in v65.64.0

type ListResourceVulnerabilitiesSortByEnum string

ListResourceVulnerabilitiesSortByEnum Enum with underlying type: string

const (
	ListResourceVulnerabilitiesSortByTimecreated ListResourceVulnerabilitiesSortByEnum = "timeCreated"
	ListResourceVulnerabilitiesSortByDisplayname ListResourceVulnerabilitiesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListResourceVulnerabilitiesSortByEnum

func GetListResourceVulnerabilitiesSortByEnumValues ¶ added in v65.64.0

func GetListResourceVulnerabilitiesSortByEnumValues() []ListResourceVulnerabilitiesSortByEnum

GetListResourceVulnerabilitiesSortByEnumValues Enumerates the set of values for ListResourceVulnerabilitiesSortByEnum

func GetMappingListResourceVulnerabilitiesSortByEnum ¶ added in v65.64.0

func GetMappingListResourceVulnerabilitiesSortByEnum(val string) (ListResourceVulnerabilitiesSortByEnum, bool)

GetMappingListResourceVulnerabilitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceVulnerabilitiesSortOrderEnum ¶ added in v65.64.0

type ListResourceVulnerabilitiesSortOrderEnum string

ListResourceVulnerabilitiesSortOrderEnum Enum with underlying type: string

const (
	ListResourceVulnerabilitiesSortOrderAsc  ListResourceVulnerabilitiesSortOrderEnum = "ASC"
	ListResourceVulnerabilitiesSortOrderDesc ListResourceVulnerabilitiesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourceVulnerabilitiesSortOrderEnum

func GetListResourceVulnerabilitiesSortOrderEnumValues ¶ added in v65.64.0

func GetListResourceVulnerabilitiesSortOrderEnumValues() []ListResourceVulnerabilitiesSortOrderEnum

GetListResourceVulnerabilitiesSortOrderEnumValues Enumerates the set of values for ListResourceVulnerabilitiesSortOrderEnum

func GetMappingListResourceVulnerabilitiesSortOrderEnum ¶ added in v65.64.0

func GetMappingListResourceVulnerabilitiesSortOrderEnum(val string) (ListResourceVulnerabilitiesSortOrderEnum, bool)

GetMappingListResourceVulnerabilitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourcesAccessLevelEnum ¶ added in v65.64.0

type ListResourcesAccessLevelEnum string

ListResourcesAccessLevelEnum Enum with underlying type: string

const (
	ListResourcesAccessLevelRestricted ListResourcesAccessLevelEnum = "RESTRICTED"
	ListResourcesAccessLevelAccessible ListResourcesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListResourcesAccessLevelEnum

func GetListResourcesAccessLevelEnumValues ¶ added in v65.64.0

func GetListResourcesAccessLevelEnumValues() []ListResourcesAccessLevelEnum

GetListResourcesAccessLevelEnumValues Enumerates the set of values for ListResourcesAccessLevelEnum

func GetMappingListResourcesAccessLevelEnum ¶ added in v65.64.0

func GetMappingListResourcesAccessLevelEnum(val string) (ListResourcesAccessLevelEnum, bool)

GetMappingListResourcesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourcesDetectorTypeEnum ¶ added in v65.64.0

type ListResourcesDetectorTypeEnum string

ListResourcesDetectorTypeEnum Enum with underlying type: string

const (
	ListResourcesDetectorTypeActivityDetector         ListResourcesDetectorTypeEnum = "IAAS_ACTIVITY_DETECTOR"
	ListResourcesDetectorTypeConfigurationDetector    ListResourcesDetectorTypeEnum = "IAAS_CONFIGURATION_DETECTOR"
	ListResourcesDetectorTypeThreatDetector           ListResourcesDetectorTypeEnum = "IAAS_THREAT_DETECTOR"
	ListResourcesDetectorTypeLogInsightDetector       ListResourcesDetectorTypeEnum = "IAAS_LOG_INSIGHT_DETECTOR"
	ListResourcesDetectorTypeInstanceSecurityDetector ListResourcesDetectorTypeEnum = "IAAS_INSTANCE_SECURITY_DETECTOR"
)

Set of constants representing the allowable values for ListResourcesDetectorTypeEnum

func GetListResourcesDetectorTypeEnumValues ¶ added in v65.64.0

func GetListResourcesDetectorTypeEnumValues() []ListResourcesDetectorTypeEnum

GetListResourcesDetectorTypeEnumValues Enumerates the set of values for ListResourcesDetectorTypeEnum

func GetMappingListResourcesDetectorTypeEnum ¶ added in v65.64.0

func GetMappingListResourcesDetectorTypeEnum(val string) (ListResourcesDetectorTypeEnum, bool)

GetMappingListResourcesDetectorTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourcesRequest ¶ added in v65.64.0

type ListResourcesRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The ID of the target in which to list resources.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// OCI monitoring region.
	Region *string `mandatory:"false" contributesTo:"query" name:"region"`

	// Cvss score associated with the resource.
	CvssScore *int `mandatory:"false" contributesTo:"query" name:"cvssScore"`

	// Cvss score greater than associated with the resource.
	CvssScoreGreaterThan *int `mandatory:"false" contributesTo:"query" name:"cvssScoreGreaterThan"`

	// Cvss score less than associated with the resource.
	CvssScoreLessThan *int `mandatory:"false" contributesTo:"query" name:"cvssScoreLessThan"`

	// CVE ID associated with the resource.
	CveId *string `mandatory:"false" contributesTo:"query" name:"cveId"`

	// Risk level of the problem.
	RiskLevel *string `mandatory:"false" contributesTo:"query" name:"riskLevel"`

	// To filter risk level greater than the one mentioned in query param
	RiskLevelGreaterThan *string `mandatory:"false" contributesTo:"query" name:"riskLevelGreaterThan"`

	// To filter risk level less than the one mentioned in query param
	RiskLevelLessThan *string `mandatory:"false" contributesTo:"query" name:"riskLevelLessThan"`

	// 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.
	DetectorType ListResourcesDetectorTypeEnum `mandatory:"false" contributesTo:"query" name:"detectorType" 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 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 ListResourcesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The sort order to use
	SortOrder ListResourcesSortOrderEnum `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 ListResourcesSortByEnum `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
}

ListResourcesRequest wrapper for the ListResources operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResources.go.html to see an example of how to use ListResourcesRequest.

func (ListResourcesRequest) BinaryRequestBody ¶ added in v65.64.0

func (request ListResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResourcesRequest) HTTPRequest ¶ added in v65.64.0

func (request ListResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourcesRequest) RetryPolicy ¶ added in v65.64.0

func (request ListResourcesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResourcesRequest) String ¶ added in v65.64.0

func (request ListResourcesRequest) String() string

func (ListResourcesRequest) ValidateEnumValue ¶ added in v65.64.0

func (request ListResourcesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResourcesResponse ¶ added in v65.64.0

type ListResourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceCollection instances
	ResourceCollection `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"`
}

ListResourcesResponse wrapper for the ListResources operation

func (ListResourcesResponse) HTTPResponse ¶ added in v65.64.0

func (response ListResourcesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResourcesResponse) String ¶ added in v65.64.0

func (response ListResourcesResponse) String() string

type ListResourcesSortByEnum ¶ added in v65.64.0

type ListResourcesSortByEnum string

ListResourcesSortByEnum Enum with underlying type: string

const (
	ListResourcesSortByTimecreated ListResourcesSortByEnum = "timeCreated"
	ListResourcesSortByDisplayname ListResourcesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListResourcesSortByEnum

func GetListResourcesSortByEnumValues ¶ added in v65.64.0

func GetListResourcesSortByEnumValues() []ListResourcesSortByEnum

GetListResourcesSortByEnumValues Enumerates the set of values for ListResourcesSortByEnum

func GetMappingListResourcesSortByEnum ¶ added in v65.64.0

func GetMappingListResourcesSortByEnum(val string) (ListResourcesSortByEnum, bool)

GetMappingListResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourcesSortOrderEnum ¶ added in v65.64.0

type ListResourcesSortOrderEnum string

ListResourcesSortOrderEnum Enum with underlying type: string

const (
	ListResourcesSortOrderAsc  ListResourcesSortOrderEnum = "ASC"
	ListResourcesSortOrderDesc ListResourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourcesSortOrderEnum

func GetListResourcesSortOrderEnumValues ¶ added in v65.64.0

func GetListResourcesSortOrderEnumValues() []ListResourcesSortOrderEnum

GetListResourcesSortOrderEnumValues Enumerates the set of values for ListResourcesSortOrderEnum

func GetMappingListResourcesSortOrderEnum ¶ added in v65.64.0

func GetMappingListResourcesSortOrderEnum(val string) (ListResourcesSortOrderEnum, bool)

GetMappingListResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderActivitiesRequest ¶

type ListResponderActivitiesRequest struct {

	// OCID of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use
	SortOrder ListResponderActivitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName is ascending. If no value is specified timeCreated is default.
	SortBy ListResponderActivitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderActivitiesRequest wrapper for the ListResponderActivities operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderActivities.go.html to see an example of how to use ListResponderActivitiesRequest.

func (ListResponderActivitiesRequest) BinaryRequestBody ¶

func (request ListResponderActivitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResponderActivitiesRequest) HTTPRequest ¶

func (request ListResponderActivitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderActivitiesRequest) RetryPolicy ¶

func (request ListResponderActivitiesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderActivitiesRequest) String ¶

func (request ListResponderActivitiesRequest) String() string

func (ListResponderActivitiesRequest) ValidateEnumValue ¶

func (request ListResponderActivitiesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResponderActivitiesResponse ¶

type ListResponderActivitiesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderActivityCollection instances
	ResponderActivityCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderActivitiesResponse wrapper for the ListResponderActivities operation

func (ListResponderActivitiesResponse) HTTPResponse ¶

func (response ListResponderActivitiesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderActivitiesResponse) String ¶

func (response ListResponderActivitiesResponse) String() string

type ListResponderActivitiesSortByEnum ¶

type ListResponderActivitiesSortByEnum string

ListResponderActivitiesSortByEnum Enum with underlying type: string

const (
	ListResponderActivitiesSortByTimecreated       ListResponderActivitiesSortByEnum = "timeCreated"
	ListResponderActivitiesSortByResponderrulename ListResponderActivitiesSortByEnum = "responderRuleName"
)

Set of constants representing the allowable values for ListResponderActivitiesSortByEnum

func GetListResponderActivitiesSortByEnumValues ¶

func GetListResponderActivitiesSortByEnumValues() []ListResponderActivitiesSortByEnum

GetListResponderActivitiesSortByEnumValues Enumerates the set of values for ListResponderActivitiesSortByEnum

func GetMappingListResponderActivitiesSortByEnum ¶

func GetMappingListResponderActivitiesSortByEnum(val string) (ListResponderActivitiesSortByEnum, bool)

GetMappingListResponderActivitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderActivitiesSortOrderEnum ¶

type ListResponderActivitiesSortOrderEnum string

ListResponderActivitiesSortOrderEnum Enum with underlying type: string

const (
	ListResponderActivitiesSortOrderAsc  ListResponderActivitiesSortOrderEnum = "ASC"
	ListResponderActivitiesSortOrderDesc ListResponderActivitiesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderActivitiesSortOrderEnum

func GetListResponderActivitiesSortOrderEnumValues ¶

func GetListResponderActivitiesSortOrderEnumValues() []ListResponderActivitiesSortOrderEnum

GetListResponderActivitiesSortOrderEnumValues Enumerates the set of values for ListResponderActivitiesSortOrderEnum

func GetMappingListResponderActivitiesSortOrderEnum ¶

func GetMappingListResponderActivitiesSortOrderEnum(val string) (ListResponderActivitiesSortOrderEnum, bool)

GetMappingListResponderActivitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderExecutionsAccessLevelEnum ¶

type ListResponderExecutionsAccessLevelEnum string

ListResponderExecutionsAccessLevelEnum Enum with underlying type: string

const (
	ListResponderExecutionsAccessLevelRestricted ListResponderExecutionsAccessLevelEnum = "RESTRICTED"
	ListResponderExecutionsAccessLevelAccessible ListResponderExecutionsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListResponderExecutionsAccessLevelEnum

func GetListResponderExecutionsAccessLevelEnumValues ¶

func GetListResponderExecutionsAccessLevelEnumValues() []ListResponderExecutionsAccessLevelEnum

GetListResponderExecutionsAccessLevelEnumValues Enumerates the set of values for ListResponderExecutionsAccessLevelEnum

func GetMappingListResponderExecutionsAccessLevelEnum ¶

func GetMappingListResponderExecutionsAccessLevelEnum(val string) (ListResponderExecutionsAccessLevelEnum, bool)

GetMappingListResponderExecutionsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderExecutionsRequest ¶

type ListResponderExecutionsRequest struct {

	// The OCID 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 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 unique identifier 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
	SortOrder ListResponderExecutionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName and resourceName is ascending. If no value is specified timeCreated is default.
	SortBy ListResponderExecutionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderExecutionsRequest wrapper for the ListResponderExecutions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderExecutions.go.html to see an example of how to use ListResponderExecutionsRequest.

func (ListResponderExecutionsRequest) BinaryRequestBody ¶

func (request ListResponderExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResponderExecutionsRequest) HTTPRequest ¶

func (request ListResponderExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderExecutionsRequest) RetryPolicy ¶

func (request ListResponderExecutionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderExecutionsRequest) String ¶

func (request ListResponderExecutionsRequest) String() string

func (ListResponderExecutionsRequest) ValidateEnumValue ¶

func (request ListResponderExecutionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResponderExecutionsResponderExecutionModeEnum ¶

type ListResponderExecutionsResponderExecutionModeEnum string

ListResponderExecutionsResponderExecutionModeEnum Enum with underlying type: string

const (
	ListResponderExecutionsResponderExecutionModeManual    ListResponderExecutionsResponderExecutionModeEnum = "MANUAL"
	ListResponderExecutionsResponderExecutionModeAutomated ListResponderExecutionsResponderExecutionModeEnum = "AUTOMATED"
	ListResponderExecutionsResponderExecutionModeAll       ListResponderExecutionsResponderExecutionModeEnum = "ALL"
)

Set of constants representing the allowable values for ListResponderExecutionsResponderExecutionModeEnum

func GetListResponderExecutionsResponderExecutionModeEnumValues ¶

func GetListResponderExecutionsResponderExecutionModeEnumValues() []ListResponderExecutionsResponderExecutionModeEnum

GetListResponderExecutionsResponderExecutionModeEnumValues Enumerates the set of values for ListResponderExecutionsResponderExecutionModeEnum

func GetMappingListResponderExecutionsResponderExecutionModeEnum ¶

func GetMappingListResponderExecutionsResponderExecutionModeEnum(val string) (ListResponderExecutionsResponderExecutionModeEnum, bool)

GetMappingListResponderExecutionsResponderExecutionModeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderExecutionsResponderExecutionStatusEnum ¶

type ListResponderExecutionsResponderExecutionStatusEnum string

ListResponderExecutionsResponderExecutionStatusEnum Enum with underlying type: string

const (
	ListResponderExecutionsResponderExecutionStatusStarted              ListResponderExecutionsResponderExecutionStatusEnum = "STARTED"
	ListResponderExecutionsResponderExecutionStatusAwaitingConfirmation ListResponderExecutionsResponderExecutionStatusEnum = "AWAITING_CONFIRMATION"
	ListResponderExecutionsResponderExecutionStatusAwaitingInput        ListResponderExecutionsResponderExecutionStatusEnum = "AWAITING_INPUT"
	ListResponderExecutionsResponderExecutionStatusSucceeded            ListResponderExecutionsResponderExecutionStatusEnum = "SUCCEEDED"
	ListResponderExecutionsResponderExecutionStatusFailed               ListResponderExecutionsResponderExecutionStatusEnum = "FAILED"
	ListResponderExecutionsResponderExecutionStatusSkipped              ListResponderExecutionsResponderExecutionStatusEnum = "SKIPPED"
	ListResponderExecutionsResponderExecutionStatusAll                  ListResponderExecutionsResponderExecutionStatusEnum = "ALL"
)

Set of constants representing the allowable values for ListResponderExecutionsResponderExecutionStatusEnum

func GetListResponderExecutionsResponderExecutionStatusEnumValues ¶

func GetListResponderExecutionsResponderExecutionStatusEnumValues() []ListResponderExecutionsResponderExecutionStatusEnum

GetListResponderExecutionsResponderExecutionStatusEnumValues Enumerates the set of values for ListResponderExecutionsResponderExecutionStatusEnum

func GetMappingListResponderExecutionsResponderExecutionStatusEnum ¶

func GetMappingListResponderExecutionsResponderExecutionStatusEnum(val string) (ListResponderExecutionsResponderExecutionStatusEnum, bool)

GetMappingListResponderExecutionsResponderExecutionStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderExecutionsResponderTypeEnum ¶

type ListResponderExecutionsResponderTypeEnum string

ListResponderExecutionsResponderTypeEnum Enum with underlying type: string

const (
	ListResponderExecutionsResponderTypeRemediation  ListResponderExecutionsResponderTypeEnum = "REMEDIATION"
	ListResponderExecutionsResponderTypeNotification ListResponderExecutionsResponderTypeEnum = "NOTIFICATION"
)

Set of constants representing the allowable values for ListResponderExecutionsResponderTypeEnum

func GetListResponderExecutionsResponderTypeEnumValues ¶

func GetListResponderExecutionsResponderTypeEnumValues() []ListResponderExecutionsResponderTypeEnum

GetListResponderExecutionsResponderTypeEnumValues Enumerates the set of values for ListResponderExecutionsResponderTypeEnum

func GetMappingListResponderExecutionsResponderTypeEnum ¶

func GetMappingListResponderExecutionsResponderTypeEnum(val string) (ListResponderExecutionsResponderTypeEnum, bool)

GetMappingListResponderExecutionsResponderTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderExecutionsResponse ¶

type ListResponderExecutionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderExecutionCollection instances
	ResponderExecutionCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderExecutionsResponse wrapper for the ListResponderExecutions operation

func (ListResponderExecutionsResponse) HTTPResponse ¶

func (response ListResponderExecutionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderExecutionsResponse) String ¶

func (response ListResponderExecutionsResponse) String() string

type ListResponderExecutionsSortByEnum ¶

type ListResponderExecutionsSortByEnum string

ListResponderExecutionsSortByEnum Enum with underlying type: string

const (
	ListResponderExecutionsSortByTimecreated       ListResponderExecutionsSortByEnum = "timeCreated"
	ListResponderExecutionsSortByResponderrulename ListResponderExecutionsSortByEnum = "responderRuleName"
	ListResponderExecutionsSortByResourcename      ListResponderExecutionsSortByEnum = "resourceName"
	ListResponderExecutionsSortByTimecompleted     ListResponderExecutionsSortByEnum = "timeCompleted"
)

Set of constants representing the allowable values for ListResponderExecutionsSortByEnum

func GetListResponderExecutionsSortByEnumValues ¶

func GetListResponderExecutionsSortByEnumValues() []ListResponderExecutionsSortByEnum

GetListResponderExecutionsSortByEnumValues Enumerates the set of values for ListResponderExecutionsSortByEnum

func GetMappingListResponderExecutionsSortByEnum ¶

func GetMappingListResponderExecutionsSortByEnum(val string) (ListResponderExecutionsSortByEnum, bool)

GetMappingListResponderExecutionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderExecutionsSortOrderEnum ¶

type ListResponderExecutionsSortOrderEnum string

ListResponderExecutionsSortOrderEnum Enum with underlying type: string

const (
	ListResponderExecutionsSortOrderAsc  ListResponderExecutionsSortOrderEnum = "ASC"
	ListResponderExecutionsSortOrderDesc ListResponderExecutionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderExecutionsSortOrderEnum

func GetListResponderExecutionsSortOrderEnumValues ¶

func GetListResponderExecutionsSortOrderEnumValues() []ListResponderExecutionsSortOrderEnum

GetListResponderExecutionsSortOrderEnumValues Enumerates the set of values for ListResponderExecutionsSortOrderEnum

func GetMappingListResponderExecutionsSortOrderEnum ¶

func GetMappingListResponderExecutionsSortOrderEnum(val string) (ListResponderExecutionsSortOrderEnum, bool)

GetMappingListResponderExecutionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipeResponderRulesLifecycleStateEnum ¶

type ListResponderRecipeResponderRulesLifecycleStateEnum string

ListResponderRecipeResponderRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListResponderRecipeResponderRulesLifecycleStateCreating ListResponderRecipeResponderRulesLifecycleStateEnum = "CREATING"
	ListResponderRecipeResponderRulesLifecycleStateUpdating ListResponderRecipeResponderRulesLifecycleStateEnum = "UPDATING"
	ListResponderRecipeResponderRulesLifecycleStateActive   ListResponderRecipeResponderRulesLifecycleStateEnum = "ACTIVE"
	ListResponderRecipeResponderRulesLifecycleStateInactive ListResponderRecipeResponderRulesLifecycleStateEnum = "INACTIVE"
	ListResponderRecipeResponderRulesLifecycleStateDeleting ListResponderRecipeResponderRulesLifecycleStateEnum = "DELETING"
	ListResponderRecipeResponderRulesLifecycleStateDeleted  ListResponderRecipeResponderRulesLifecycleStateEnum = "DELETED"
	ListResponderRecipeResponderRulesLifecycleStateFailed   ListResponderRecipeResponderRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListResponderRecipeResponderRulesLifecycleStateEnum

func GetListResponderRecipeResponderRulesLifecycleStateEnumValues ¶

func GetListResponderRecipeResponderRulesLifecycleStateEnumValues() []ListResponderRecipeResponderRulesLifecycleStateEnum

GetListResponderRecipeResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesLifecycleStateEnum

func GetMappingListResponderRecipeResponderRulesLifecycleStateEnum ¶

func GetMappingListResponderRecipeResponderRulesLifecycleStateEnum(val string) (ListResponderRecipeResponderRulesLifecycleStateEnum, bool)

GetMappingListResponderRecipeResponderRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipeResponderRulesRequest ¶

type ListResponderRecipeResponderRulesRequest struct {

	// OCID of the responder recipe.
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The OCID 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 lifecycle 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
	SortOrder ListResponderRecipeResponderRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListResponderRecipeResponderRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderRecipeResponderRulesRequest wrapper for the ListResponderRecipeResponderRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderRecipeResponderRules.go.html to see an example of how to use ListResponderRecipeResponderRulesRequest.

func (ListResponderRecipeResponderRulesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListResponderRecipeResponderRulesRequest) HTTPRequest ¶

func (request ListResponderRecipeResponderRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderRecipeResponderRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderRecipeResponderRulesRequest) String ¶

func (ListResponderRecipeResponderRulesRequest) ValidateEnumValue ¶

func (request ListResponderRecipeResponderRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResponderRecipeResponderRulesResponse ¶

type ListResponderRecipeResponderRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderRecipeResponderRuleCollection instances
	ResponderRecipeResponderRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderRecipeResponderRulesResponse wrapper for the ListResponderRecipeResponderRules operation

func (ListResponderRecipeResponderRulesResponse) HTTPResponse ¶

func (response ListResponderRecipeResponderRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderRecipeResponderRulesResponse) String ¶

type ListResponderRecipeResponderRulesSortByEnum ¶

type ListResponderRecipeResponderRulesSortByEnum string

ListResponderRecipeResponderRulesSortByEnum Enum with underlying type: string

const (
	ListResponderRecipeResponderRulesSortByDisplayname ListResponderRecipeResponderRulesSortByEnum = "displayName"
	ListResponderRecipeResponderRulesSortByRisklevel   ListResponderRecipeResponderRulesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListResponderRecipeResponderRulesSortByEnum

func GetListResponderRecipeResponderRulesSortByEnumValues ¶

func GetListResponderRecipeResponderRulesSortByEnumValues() []ListResponderRecipeResponderRulesSortByEnum

GetListResponderRecipeResponderRulesSortByEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesSortByEnum

func GetMappingListResponderRecipeResponderRulesSortByEnum ¶

func GetMappingListResponderRecipeResponderRulesSortByEnum(val string) (ListResponderRecipeResponderRulesSortByEnum, bool)

GetMappingListResponderRecipeResponderRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipeResponderRulesSortOrderEnum ¶

type ListResponderRecipeResponderRulesSortOrderEnum string

ListResponderRecipeResponderRulesSortOrderEnum Enum with underlying type: string

const (
	ListResponderRecipeResponderRulesSortOrderAsc  ListResponderRecipeResponderRulesSortOrderEnum = "ASC"
	ListResponderRecipeResponderRulesSortOrderDesc ListResponderRecipeResponderRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderRecipeResponderRulesSortOrderEnum

func GetListResponderRecipeResponderRulesSortOrderEnumValues ¶

func GetListResponderRecipeResponderRulesSortOrderEnumValues() []ListResponderRecipeResponderRulesSortOrderEnum

GetListResponderRecipeResponderRulesSortOrderEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesSortOrderEnum

func GetMappingListResponderRecipeResponderRulesSortOrderEnum ¶

func GetMappingListResponderRecipeResponderRulesSortOrderEnum(val string) (ListResponderRecipeResponderRulesSortOrderEnum, bool)

GetMappingListResponderRecipeResponderRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipesAccessLevelEnum ¶

type ListResponderRecipesAccessLevelEnum string

ListResponderRecipesAccessLevelEnum Enum with underlying type: string

const (
	ListResponderRecipesAccessLevelRestricted ListResponderRecipesAccessLevelEnum = "RESTRICTED"
	ListResponderRecipesAccessLevelAccessible ListResponderRecipesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListResponderRecipesAccessLevelEnum

func GetListResponderRecipesAccessLevelEnumValues ¶

func GetListResponderRecipesAccessLevelEnumValues() []ListResponderRecipesAccessLevelEnum

GetListResponderRecipesAccessLevelEnumValues Enumerates the set of values for ListResponderRecipesAccessLevelEnum

func GetMappingListResponderRecipesAccessLevelEnum ¶

func GetMappingListResponderRecipesAccessLevelEnum(val string) (ListResponderRecipesAccessLevelEnum, bool)

GetMappingListResponderRecipesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipesLifecycleStateEnum ¶

type ListResponderRecipesLifecycleStateEnum string

ListResponderRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListResponderRecipesLifecycleStateCreating ListResponderRecipesLifecycleStateEnum = "CREATING"
	ListResponderRecipesLifecycleStateUpdating ListResponderRecipesLifecycleStateEnum = "UPDATING"
	ListResponderRecipesLifecycleStateActive   ListResponderRecipesLifecycleStateEnum = "ACTIVE"
	ListResponderRecipesLifecycleStateInactive ListResponderRecipesLifecycleStateEnum = "INACTIVE"
	ListResponderRecipesLifecycleStateDeleting ListResponderRecipesLifecycleStateEnum = "DELETING"
	ListResponderRecipesLifecycleStateDeleted  ListResponderRecipesLifecycleStateEnum = "DELETED"
	ListResponderRecipesLifecycleStateFailed   ListResponderRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListResponderRecipesLifecycleStateEnum

func GetListResponderRecipesLifecycleStateEnumValues ¶

func GetListResponderRecipesLifecycleStateEnumValues() []ListResponderRecipesLifecycleStateEnum

GetListResponderRecipesLifecycleStateEnumValues Enumerates the set of values for ListResponderRecipesLifecycleStateEnum

func GetMappingListResponderRecipesLifecycleStateEnum ¶

func GetMappingListResponderRecipesLifecycleStateEnum(val string) (ListResponderRecipesLifecycleStateEnum, bool)

GetMappingListResponderRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipesRequest ¶

type ListResponderRecipesRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the list of all Oracle-managed resources
	// metadata supported by Cloud Guard is returned.
	ResourceMetadataOnly *bool `mandatory:"false" contributesTo:"query" name:"resourceMetadataOnly"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field lifecycle 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 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
	SortOrder ListResponderRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListResponderRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderRecipesRequest wrapper for the ListResponderRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderRecipes.go.html to see an example of how to use ListResponderRecipesRequest.

func (ListResponderRecipesRequest) BinaryRequestBody ¶

func (request ListResponderRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResponderRecipesRequest) HTTPRequest ¶

func (request ListResponderRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderRecipesRequest) RetryPolicy ¶

func (request ListResponderRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderRecipesRequest) String ¶

func (request ListResponderRecipesRequest) String() string

func (ListResponderRecipesRequest) ValidateEnumValue ¶

func (request ListResponderRecipesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResponderRecipesResponse ¶

type ListResponderRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderRecipeCollection instances
	ResponderRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderRecipesResponse wrapper for the ListResponderRecipes operation

func (ListResponderRecipesResponse) HTTPResponse ¶

func (response ListResponderRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderRecipesResponse) String ¶

func (response ListResponderRecipesResponse) String() string

type ListResponderRecipesSortByEnum ¶

type ListResponderRecipesSortByEnum string

ListResponderRecipesSortByEnum Enum with underlying type: string

const (
	ListResponderRecipesSortByTimecreated ListResponderRecipesSortByEnum = "timeCreated"
	ListResponderRecipesSortByDisplayname ListResponderRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListResponderRecipesSortByEnum

func GetListResponderRecipesSortByEnumValues ¶

func GetListResponderRecipesSortByEnumValues() []ListResponderRecipesSortByEnum

GetListResponderRecipesSortByEnumValues Enumerates the set of values for ListResponderRecipesSortByEnum

func GetMappingListResponderRecipesSortByEnum ¶

func GetMappingListResponderRecipesSortByEnum(val string) (ListResponderRecipesSortByEnum, bool)

GetMappingListResponderRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipesSortOrderEnum ¶

type ListResponderRecipesSortOrderEnum string

ListResponderRecipesSortOrderEnum Enum with underlying type: string

const (
	ListResponderRecipesSortOrderAsc  ListResponderRecipesSortOrderEnum = "ASC"
	ListResponderRecipesSortOrderDesc ListResponderRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderRecipesSortOrderEnum

func GetListResponderRecipesSortOrderEnumValues ¶

func GetListResponderRecipesSortOrderEnumValues() []ListResponderRecipesSortOrderEnum

GetListResponderRecipesSortOrderEnumValues Enumerates the set of values for ListResponderRecipesSortOrderEnum

func GetMappingListResponderRecipesSortOrderEnum ¶

func GetMappingListResponderRecipesSortOrderEnum(val string) (ListResponderRecipesSortOrderEnum, bool)

GetMappingListResponderRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRulesLifecycleStateEnum ¶

type ListResponderRulesLifecycleStateEnum string

ListResponderRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListResponderRulesLifecycleStateCreating ListResponderRulesLifecycleStateEnum = "CREATING"
	ListResponderRulesLifecycleStateUpdating ListResponderRulesLifecycleStateEnum = "UPDATING"
	ListResponderRulesLifecycleStateActive   ListResponderRulesLifecycleStateEnum = "ACTIVE"
	ListResponderRulesLifecycleStateInactive ListResponderRulesLifecycleStateEnum = "INACTIVE"
	ListResponderRulesLifecycleStateDeleting ListResponderRulesLifecycleStateEnum = "DELETING"
	ListResponderRulesLifecycleStateDeleted  ListResponderRulesLifecycleStateEnum = "DELETED"
	ListResponderRulesLifecycleStateFailed   ListResponderRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListResponderRulesLifecycleStateEnum

func GetListResponderRulesLifecycleStateEnumValues ¶

func GetListResponderRulesLifecycleStateEnumValues() []ListResponderRulesLifecycleStateEnum

GetListResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListResponderRulesLifecycleStateEnum

func GetMappingListResponderRulesLifecycleStateEnum ¶

func GetMappingListResponderRulesLifecycleStateEnum(val string) (ListResponderRulesLifecycleStateEnum, bool)

GetMappingListResponderRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRulesRequest ¶

type ListResponderRulesRequest struct {

	// The OCID 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 lifecycle 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
	SortOrder ListResponderRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListResponderRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderRulesRequest wrapper for the ListResponderRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderRules.go.html to see an example of how to use ListResponderRulesRequest.

func (ListResponderRulesRequest) BinaryRequestBody ¶

func (request ListResponderRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResponderRulesRequest) HTTPRequest ¶

func (request ListResponderRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderRulesRequest) RetryPolicy ¶

func (request ListResponderRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderRulesRequest) String ¶

func (request ListResponderRulesRequest) String() string

func (ListResponderRulesRequest) ValidateEnumValue ¶

func (request ListResponderRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResponderRulesResponse ¶

type ListResponderRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderRuleCollection instances
	ResponderRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderRulesResponse wrapper for the ListResponderRules operation

func (ListResponderRulesResponse) HTTPResponse ¶

func (response ListResponderRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderRulesResponse) String ¶

func (response ListResponderRulesResponse) String() string

type ListResponderRulesSortByEnum ¶

type ListResponderRulesSortByEnum string

ListResponderRulesSortByEnum Enum with underlying type: string

const (
	ListResponderRulesSortByTimecreated ListResponderRulesSortByEnum = "timeCreated"
	ListResponderRulesSortByDisplayname ListResponderRulesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListResponderRulesSortByEnum

func GetListResponderRulesSortByEnumValues ¶

func GetListResponderRulesSortByEnumValues() []ListResponderRulesSortByEnum

GetListResponderRulesSortByEnumValues Enumerates the set of values for ListResponderRulesSortByEnum

func GetMappingListResponderRulesSortByEnum ¶

func GetMappingListResponderRulesSortByEnum(val string) (ListResponderRulesSortByEnum, bool)

GetMappingListResponderRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRulesSortOrderEnum ¶

type ListResponderRulesSortOrderEnum string

ListResponderRulesSortOrderEnum Enum with underlying type: string

const (
	ListResponderRulesSortOrderAsc  ListResponderRulesSortOrderEnum = "ASC"
	ListResponderRulesSortOrderDesc ListResponderRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderRulesSortOrderEnum

func GetListResponderRulesSortOrderEnumValues ¶

func GetListResponderRulesSortOrderEnumValues() []ListResponderRulesSortOrderEnum

GetListResponderRulesSortOrderEnumValues Enumerates the set of values for ListResponderRulesSortOrderEnum

func GetMappingListResponderRulesSortOrderEnum ¶

func GetMappingListResponderRulesSortOrderEnum(val string) (ListResponderRulesSortOrderEnum, bool)

GetMappingListResponderRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSavedQueriesAccessLevelEnum ¶ added in v65.64.0

type ListSavedQueriesAccessLevelEnum string

ListSavedQueriesAccessLevelEnum Enum with underlying type: string

const (
	ListSavedQueriesAccessLevelRestricted ListSavedQueriesAccessLevelEnum = "RESTRICTED"
	ListSavedQueriesAccessLevelAccessible ListSavedQueriesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListSavedQueriesAccessLevelEnum

func GetListSavedQueriesAccessLevelEnumValues ¶ added in v65.64.0

func GetListSavedQueriesAccessLevelEnumValues() []ListSavedQueriesAccessLevelEnum

GetListSavedQueriesAccessLevelEnumValues Enumerates the set of values for ListSavedQueriesAccessLevelEnum

func GetMappingListSavedQueriesAccessLevelEnum ¶ added in v65.64.0

func GetMappingListSavedQueriesAccessLevelEnum(val string) (ListSavedQueriesAccessLevelEnum, bool)

GetMappingListSavedQueriesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSavedQueriesRequest ¶ added in v65.64.0

type ListSavedQueriesRequest struct {

	// The OCID 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 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 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 ListSavedQueriesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The sort order to use
	SortOrder ListSavedQueriesSortOrderEnum `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 ListSavedQueriesSortByEnum `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
}

ListSavedQueriesRequest wrapper for the ListSavedQueries operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSavedQueries.go.html to see an example of how to use ListSavedQueriesRequest.

func (ListSavedQueriesRequest) BinaryRequestBody ¶ added in v65.64.0

func (request ListSavedQueriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSavedQueriesRequest) HTTPRequest ¶ added in v65.64.0

func (request ListSavedQueriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSavedQueriesRequest) RetryPolicy ¶ added in v65.64.0

func (request ListSavedQueriesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSavedQueriesRequest) String ¶ added in v65.64.0

func (request ListSavedQueriesRequest) String() string

func (ListSavedQueriesRequest) ValidateEnumValue ¶ added in v65.64.0

func (request ListSavedQueriesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSavedQueriesResponse ¶ added in v65.64.0

type ListSavedQueriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SavedQueryCollection instances
	SavedQueryCollection `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"`
}

ListSavedQueriesResponse wrapper for the ListSavedQueries operation

func (ListSavedQueriesResponse) HTTPResponse ¶ added in v65.64.0

func (response ListSavedQueriesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSavedQueriesResponse) String ¶ added in v65.64.0

func (response ListSavedQueriesResponse) String() string

type ListSavedQueriesSortByEnum ¶ added in v65.64.0

type ListSavedQueriesSortByEnum string

ListSavedQueriesSortByEnum Enum with underlying type: string

const (
	ListSavedQueriesSortByTimecreated ListSavedQueriesSortByEnum = "timeCreated"
	ListSavedQueriesSortByDisplayname ListSavedQueriesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSavedQueriesSortByEnum

func GetListSavedQueriesSortByEnumValues ¶ added in v65.64.0

func GetListSavedQueriesSortByEnumValues() []ListSavedQueriesSortByEnum

GetListSavedQueriesSortByEnumValues Enumerates the set of values for ListSavedQueriesSortByEnum

func GetMappingListSavedQueriesSortByEnum ¶ added in v65.64.0

func GetMappingListSavedQueriesSortByEnum(val string) (ListSavedQueriesSortByEnum, bool)

GetMappingListSavedQueriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSavedQueriesSortOrderEnum ¶ added in v65.64.0

type ListSavedQueriesSortOrderEnum string

ListSavedQueriesSortOrderEnum Enum with underlying type: string

const (
	ListSavedQueriesSortOrderAsc  ListSavedQueriesSortOrderEnum = "ASC"
	ListSavedQueriesSortOrderDesc ListSavedQueriesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSavedQueriesSortOrderEnum

func GetListSavedQueriesSortOrderEnumValues ¶ added in v65.64.0

func GetListSavedQueriesSortOrderEnumValues() []ListSavedQueriesSortOrderEnum

GetListSavedQueriesSortOrderEnumValues Enumerates the set of values for ListSavedQueriesSortOrderEnum

func GetMappingListSavedQueriesSortOrderEnum ¶ added in v65.64.0

func GetMappingListSavedQueriesSortOrderEnum(val string) (ListSavedQueriesSortOrderEnum, bool)

GetMappingListSavedQueriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityPoliciesLifecycleStateEnum ¶ added in v65.3.0

type ListSecurityPoliciesLifecycleStateEnum string

ListSecurityPoliciesLifecycleStateEnum Enum with underlying type: string

const (
	ListSecurityPoliciesLifecycleStateCreating ListSecurityPoliciesLifecycleStateEnum = "CREATING"
	ListSecurityPoliciesLifecycleStateUpdating ListSecurityPoliciesLifecycleStateEnum = "UPDATING"
	ListSecurityPoliciesLifecycleStateActive   ListSecurityPoliciesLifecycleStateEnum = "ACTIVE"
	ListSecurityPoliciesLifecycleStateInactive ListSecurityPoliciesLifecycleStateEnum = "INACTIVE"
	ListSecurityPoliciesLifecycleStateDeleting ListSecurityPoliciesLifecycleStateEnum = "DELETING"
	ListSecurityPoliciesLifecycleStateDeleted  ListSecurityPoliciesLifecycleStateEnum = "DELETED"
	ListSecurityPoliciesLifecycleStateFailed   ListSecurityPoliciesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListSecurityPoliciesLifecycleStateEnum

func GetListSecurityPoliciesLifecycleStateEnumValues ¶ added in v65.3.0

func GetListSecurityPoliciesLifecycleStateEnumValues() []ListSecurityPoliciesLifecycleStateEnum

GetListSecurityPoliciesLifecycleStateEnumValues Enumerates the set of values for ListSecurityPoliciesLifecycleStateEnum

func GetMappingListSecurityPoliciesLifecycleStateEnum ¶ added in v65.3.0

func GetMappingListSecurityPoliciesLifecycleStateEnum(val string) (ListSecurityPoliciesLifecycleStateEnum, bool)

GetMappingListSecurityPoliciesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityPoliciesRequest ¶ added in v65.3.0

type ListSecurityPoliciesRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field lifecycle 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
	SortOrder ListSecurityPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListSecurityPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListSecurityPoliciesRequest wrapper for the ListSecurityPolicies operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSecurityPolicies.go.html to see an example of how to use ListSecurityPoliciesRequest.

func (ListSecurityPoliciesRequest) BinaryRequestBody ¶ added in v65.3.0

func (request ListSecurityPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSecurityPoliciesRequest) HTTPRequest ¶ added in v65.3.0

func (request ListSecurityPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSecurityPoliciesRequest) RetryPolicy ¶ added in v65.3.0

func (request ListSecurityPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSecurityPoliciesRequest) String ¶ added in v65.3.0

func (request ListSecurityPoliciesRequest) String() string

func (ListSecurityPoliciesRequest) ValidateEnumValue ¶ added in v65.3.0

func (request ListSecurityPoliciesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSecurityPoliciesResponse ¶ added in v65.3.0

type ListSecurityPoliciesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityPolicyCollection instances
	SecurityPolicyCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListSecurityPoliciesResponse wrapper for the ListSecurityPolicies operation

func (ListSecurityPoliciesResponse) HTTPResponse ¶ added in v65.3.0

func (response ListSecurityPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSecurityPoliciesResponse) String ¶ added in v65.3.0

func (response ListSecurityPoliciesResponse) String() string

type ListSecurityPoliciesSortByEnum ¶ added in v65.3.0

type ListSecurityPoliciesSortByEnum string

ListSecurityPoliciesSortByEnum Enum with underlying type: string

const (
	ListSecurityPoliciesSortByTimecreated ListSecurityPoliciesSortByEnum = "timeCreated"
	ListSecurityPoliciesSortByDisplayname ListSecurityPoliciesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSecurityPoliciesSortByEnum

func GetListSecurityPoliciesSortByEnumValues ¶ added in v65.3.0

func GetListSecurityPoliciesSortByEnumValues() []ListSecurityPoliciesSortByEnum

GetListSecurityPoliciesSortByEnumValues Enumerates the set of values for ListSecurityPoliciesSortByEnum

func GetMappingListSecurityPoliciesSortByEnum ¶ added in v65.3.0

func GetMappingListSecurityPoliciesSortByEnum(val string) (ListSecurityPoliciesSortByEnum, bool)

GetMappingListSecurityPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityPoliciesSortOrderEnum ¶ added in v65.3.0

type ListSecurityPoliciesSortOrderEnum string

ListSecurityPoliciesSortOrderEnum Enum with underlying type: string

const (
	ListSecurityPoliciesSortOrderAsc  ListSecurityPoliciesSortOrderEnum = "ASC"
	ListSecurityPoliciesSortOrderDesc ListSecurityPoliciesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSecurityPoliciesSortOrderEnum

func GetListSecurityPoliciesSortOrderEnumValues ¶ added in v65.3.0

func GetListSecurityPoliciesSortOrderEnumValues() []ListSecurityPoliciesSortOrderEnum

GetListSecurityPoliciesSortOrderEnumValues Enumerates the set of values for ListSecurityPoliciesSortOrderEnum

func GetMappingListSecurityPoliciesSortOrderEnum ¶ added in v65.3.0

func GetMappingListSecurityPoliciesSortOrderEnum(val string) (ListSecurityPoliciesSortOrderEnum, bool)

GetMappingListSecurityPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityRecipesLifecycleStateEnum ¶ added in v65.3.0

type ListSecurityRecipesLifecycleStateEnum string

ListSecurityRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListSecurityRecipesLifecycleStateCreating ListSecurityRecipesLifecycleStateEnum = "CREATING"
	ListSecurityRecipesLifecycleStateUpdating ListSecurityRecipesLifecycleStateEnum = "UPDATING"
	ListSecurityRecipesLifecycleStateActive   ListSecurityRecipesLifecycleStateEnum = "ACTIVE"
	ListSecurityRecipesLifecycleStateInactive ListSecurityRecipesLifecycleStateEnum = "INACTIVE"
	ListSecurityRecipesLifecycleStateDeleting ListSecurityRecipesLifecycleStateEnum = "DELETING"
	ListSecurityRecipesLifecycleStateDeleted  ListSecurityRecipesLifecycleStateEnum = "DELETED"
	ListSecurityRecipesLifecycleStateFailed   ListSecurityRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListSecurityRecipesLifecycleStateEnum

func GetListSecurityRecipesLifecycleStateEnumValues ¶ added in v65.3.0

func GetListSecurityRecipesLifecycleStateEnumValues() []ListSecurityRecipesLifecycleStateEnum

GetListSecurityRecipesLifecycleStateEnumValues Enumerates the set of values for ListSecurityRecipesLifecycleStateEnum

func GetMappingListSecurityRecipesLifecycleStateEnum ¶ added in v65.3.0

func GetMappingListSecurityRecipesLifecycleStateEnum(val string) (ListSecurityRecipesLifecycleStateEnum, bool)

GetMappingListSecurityRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityRecipesRequest ¶ added in v65.3.0

type ListSecurityRecipesRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field lifecycle 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
	SortOrder ListSecurityRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListSecurityRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListSecurityRecipesRequest wrapper for the ListSecurityRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSecurityRecipes.go.html to see an example of how to use ListSecurityRecipesRequest.

func (ListSecurityRecipesRequest) BinaryRequestBody ¶ added in v65.3.0

func (request ListSecurityRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSecurityRecipesRequest) HTTPRequest ¶ added in v65.3.0

func (request ListSecurityRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSecurityRecipesRequest) RetryPolicy ¶ added in v65.3.0

func (request ListSecurityRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSecurityRecipesRequest) String ¶ added in v65.3.0

func (request ListSecurityRecipesRequest) String() string

func (ListSecurityRecipesRequest) ValidateEnumValue ¶ added in v65.3.0

func (request ListSecurityRecipesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSecurityRecipesResponse ¶ added in v65.3.0

type ListSecurityRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityRecipeCollection instances
	SecurityRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListSecurityRecipesResponse wrapper for the ListSecurityRecipes operation

func (ListSecurityRecipesResponse) HTTPResponse ¶ added in v65.3.0

func (response ListSecurityRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSecurityRecipesResponse) String ¶ added in v65.3.0

func (response ListSecurityRecipesResponse) String() string

type ListSecurityRecipesSortByEnum ¶ added in v65.3.0

type ListSecurityRecipesSortByEnum string

ListSecurityRecipesSortByEnum Enum with underlying type: string

const (
	ListSecurityRecipesSortByTimecreated ListSecurityRecipesSortByEnum = "timeCreated"
	ListSecurityRecipesSortByDisplayname ListSecurityRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSecurityRecipesSortByEnum

func GetListSecurityRecipesSortByEnumValues ¶ added in v65.3.0

func GetListSecurityRecipesSortByEnumValues() []ListSecurityRecipesSortByEnum

GetListSecurityRecipesSortByEnumValues Enumerates the set of values for ListSecurityRecipesSortByEnum

func GetMappingListSecurityRecipesSortByEnum ¶ added in v65.3.0

func GetMappingListSecurityRecipesSortByEnum(val string) (ListSecurityRecipesSortByEnum, bool)

GetMappingListSecurityRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityRecipesSortOrderEnum ¶ added in v65.3.0

type ListSecurityRecipesSortOrderEnum string

ListSecurityRecipesSortOrderEnum Enum with underlying type: string

const (
	ListSecurityRecipesSortOrderAsc  ListSecurityRecipesSortOrderEnum = "ASC"
	ListSecurityRecipesSortOrderDesc ListSecurityRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSecurityRecipesSortOrderEnum

func GetListSecurityRecipesSortOrderEnumValues ¶ added in v65.3.0

func GetListSecurityRecipesSortOrderEnumValues() []ListSecurityRecipesSortOrderEnum

GetListSecurityRecipesSortOrderEnumValues Enumerates the set of values for ListSecurityRecipesSortOrderEnum

func GetMappingListSecurityRecipesSortOrderEnum ¶ added in v65.3.0

func GetMappingListSecurityRecipesSortOrderEnum(val string) (ListSecurityRecipesSortOrderEnum, bool)

GetMappingListSecurityRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityZonesLifecycleStateEnum ¶ added in v65.3.0

type ListSecurityZonesLifecycleStateEnum string

ListSecurityZonesLifecycleStateEnum Enum with underlying type: string

const (
	ListSecurityZonesLifecycleStateCreating ListSecurityZonesLifecycleStateEnum = "CREATING"
	ListSecurityZonesLifecycleStateUpdating ListSecurityZonesLifecycleStateEnum = "UPDATING"
	ListSecurityZonesLifecycleStateActive   ListSecurityZonesLifecycleStateEnum = "ACTIVE"
	ListSecurityZonesLifecycleStateInactive ListSecurityZonesLifecycleStateEnum = "INACTIVE"
	ListSecurityZonesLifecycleStateDeleting ListSecurityZonesLifecycleStateEnum = "DELETING"
	ListSecurityZonesLifecycleStateDeleted  ListSecurityZonesLifecycleStateEnum = "DELETED"
	ListSecurityZonesLifecycleStateFailed   ListSecurityZonesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListSecurityZonesLifecycleStateEnum

func GetListSecurityZonesLifecycleStateEnumValues ¶ added in v65.3.0

func GetListSecurityZonesLifecycleStateEnumValues() []ListSecurityZonesLifecycleStateEnum

GetListSecurityZonesLifecycleStateEnumValues Enumerates the set of values for ListSecurityZonesLifecycleStateEnum

func GetMappingListSecurityZonesLifecycleStateEnum ¶ added in v65.3.0

func GetMappingListSecurityZonesLifecycleStateEnum(val string) (ListSecurityZonesLifecycleStateEnum, bool)

GetMappingListSecurityZonesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityZonesRequest ¶ added in v65.3.0

type ListSecurityZonesRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field lifecycle 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` resource).
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The unique identifier of the security zone recipe. (`SecurityRecipe` resource).
	SecurityRecipeId *string `mandatory:"false" contributesTo:"query" name:"securityRecipeId"`

	// Is 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
	SortOrder ListSecurityZonesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListSecurityZonesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListSecurityZonesRequest wrapper for the ListSecurityZones operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSecurityZones.go.html to see an example of how to use ListSecurityZonesRequest.

func (ListSecurityZonesRequest) BinaryRequestBody ¶ added in v65.3.0

func (request ListSecurityZonesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSecurityZonesRequest) HTTPRequest ¶ added in v65.3.0

func (request ListSecurityZonesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSecurityZonesRequest) RetryPolicy ¶ added in v65.3.0

func (request ListSecurityZonesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSecurityZonesRequest) String ¶ added in v65.3.0

func (request ListSecurityZonesRequest) String() string

func (ListSecurityZonesRequest) ValidateEnumValue ¶ added in v65.3.0

func (request ListSecurityZonesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSecurityZonesResponse ¶ added in v65.3.0

type ListSecurityZonesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityZoneCollection instances
	SecurityZoneCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListSecurityZonesResponse wrapper for the ListSecurityZones operation

func (ListSecurityZonesResponse) HTTPResponse ¶ added in v65.3.0

func (response ListSecurityZonesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSecurityZonesResponse) String ¶ added in v65.3.0

func (response ListSecurityZonesResponse) String() string

type ListSecurityZonesSortByEnum ¶ added in v65.3.0

type ListSecurityZonesSortByEnum string

ListSecurityZonesSortByEnum Enum with underlying type: string

const (
	ListSecurityZonesSortByTimecreated ListSecurityZonesSortByEnum = "timeCreated"
	ListSecurityZonesSortByDisplayname ListSecurityZonesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSecurityZonesSortByEnum

func GetListSecurityZonesSortByEnumValues ¶ added in v65.3.0

func GetListSecurityZonesSortByEnumValues() []ListSecurityZonesSortByEnum

GetListSecurityZonesSortByEnumValues Enumerates the set of values for ListSecurityZonesSortByEnum

func GetMappingListSecurityZonesSortByEnum ¶ added in v65.3.0

func GetMappingListSecurityZonesSortByEnum(val string) (ListSecurityZonesSortByEnum, bool)

GetMappingListSecurityZonesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityZonesSortOrderEnum ¶ added in v65.3.0

type ListSecurityZonesSortOrderEnum string

ListSecurityZonesSortOrderEnum Enum with underlying type: string

const (
	ListSecurityZonesSortOrderAsc  ListSecurityZonesSortOrderEnum = "ASC"
	ListSecurityZonesSortOrderDesc ListSecurityZonesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSecurityZonesSortOrderEnum

func GetListSecurityZonesSortOrderEnumValues ¶ added in v65.3.0

func GetListSecurityZonesSortOrderEnumValues() []ListSecurityZonesSortOrderEnum

GetListSecurityZonesSortOrderEnumValues Enumerates the set of values for ListSecurityZonesSortOrderEnum

func GetMappingListSecurityZonesSortOrderEnum ¶ added in v65.3.0

func GetMappingListSecurityZonesSortOrderEnum(val string) (ListSecurityZonesSortOrderEnum, bool)

GetMappingListSecurityZonesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingEndpointsRequest ¶

type ListSightingEndpointsRequest struct {

	// OCID of the sighting.
	SightingId *string `mandatory:"true" contributesTo:"path" name:"sightingId"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use
	SortOrder ListSightingEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListSightingEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListSightingEndpointsRequest wrapper for the ListSightingEndpoints operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSightingEndpoints.go.html to see an example of how to use ListSightingEndpointsRequest.

func (ListSightingEndpointsRequest) BinaryRequestBody ¶

func (request ListSightingEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSightingEndpointsRequest) HTTPRequest ¶

func (request ListSightingEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSightingEndpointsRequest) RetryPolicy ¶

func (request ListSightingEndpointsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSightingEndpointsRequest) String ¶

func (request ListSightingEndpointsRequest) String() string

func (ListSightingEndpointsRequest) ValidateEnumValue ¶

func (request ListSightingEndpointsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSightingEndpointsResponse ¶

type ListSightingEndpointsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SightingEndpointCollection instances
	SightingEndpointCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListSightingEndpointsResponse wrapper for the ListSightingEndpoints operation

func (ListSightingEndpointsResponse) HTTPResponse ¶

func (response ListSightingEndpointsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSightingEndpointsResponse) String ¶

func (response ListSightingEndpointsResponse) String() string

type ListSightingEndpointsSortByEnum ¶

type ListSightingEndpointsSortByEnum string

ListSightingEndpointsSortByEnum Enum with underlying type: string

const (
	ListSightingEndpointsSortByTimecreated ListSightingEndpointsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListSightingEndpointsSortByEnum

func GetListSightingEndpointsSortByEnumValues ¶

func GetListSightingEndpointsSortByEnumValues() []ListSightingEndpointsSortByEnum

GetListSightingEndpointsSortByEnumValues Enumerates the set of values for ListSightingEndpointsSortByEnum

func GetMappingListSightingEndpointsSortByEnum ¶

func GetMappingListSightingEndpointsSortByEnum(val string) (ListSightingEndpointsSortByEnum, bool)

GetMappingListSightingEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingEndpointsSortOrderEnum ¶

type ListSightingEndpointsSortOrderEnum string

ListSightingEndpointsSortOrderEnum Enum with underlying type: string

const (
	ListSightingEndpointsSortOrderAsc  ListSightingEndpointsSortOrderEnum = "ASC"
	ListSightingEndpointsSortOrderDesc ListSightingEndpointsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSightingEndpointsSortOrderEnum

func GetListSightingEndpointsSortOrderEnumValues ¶

func GetListSightingEndpointsSortOrderEnumValues() []ListSightingEndpointsSortOrderEnum

GetListSightingEndpointsSortOrderEnumValues Enumerates the set of values for ListSightingEndpointsSortOrderEnum

func GetMappingListSightingEndpointsSortOrderEnum ¶

func GetMappingListSightingEndpointsSortOrderEnum(val string) (ListSightingEndpointsSortOrderEnum, bool)

GetMappingListSightingEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingImpactedResourcesRequest ¶

type ListSightingImpactedResourcesRequest struct {

	// OCID of the sighting.
	SightingId *string `mandatory:"true" contributesTo:"path" name:"sightingId"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use
	SortOrder ListSightingImpactedResourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListSightingImpactedResourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListSightingImpactedResourcesRequest wrapper for the ListSightingImpactedResources operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSightingImpactedResources.go.html to see an example of how to use ListSightingImpactedResourcesRequest.

func (ListSightingImpactedResourcesRequest) BinaryRequestBody ¶

func (request ListSightingImpactedResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSightingImpactedResourcesRequest) HTTPRequest ¶

func (request ListSightingImpactedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSightingImpactedResourcesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSightingImpactedResourcesRequest) String ¶

func (ListSightingImpactedResourcesRequest) ValidateEnumValue ¶

func (request ListSightingImpactedResourcesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSightingImpactedResourcesResponse ¶

type ListSightingImpactedResourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SightingImpactedResourceCollection instances
	SightingImpactedResourceCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListSightingImpactedResourcesResponse wrapper for the ListSightingImpactedResources operation

func (ListSightingImpactedResourcesResponse) HTTPResponse ¶

func (response ListSightingImpactedResourcesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSightingImpactedResourcesResponse) String ¶

type ListSightingImpactedResourcesSortByEnum ¶

type ListSightingImpactedResourcesSortByEnum string

ListSightingImpactedResourcesSortByEnum Enum with underlying type: string

const (
	ListSightingImpactedResourcesSortByTimecreated ListSightingImpactedResourcesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListSightingImpactedResourcesSortByEnum

func GetListSightingImpactedResourcesSortByEnumValues ¶

func GetListSightingImpactedResourcesSortByEnumValues() []ListSightingImpactedResourcesSortByEnum

GetListSightingImpactedResourcesSortByEnumValues Enumerates the set of values for ListSightingImpactedResourcesSortByEnum

func GetMappingListSightingImpactedResourcesSortByEnum ¶

func GetMappingListSightingImpactedResourcesSortByEnum(val string) (ListSightingImpactedResourcesSortByEnum, bool)

GetMappingListSightingImpactedResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingImpactedResourcesSortOrderEnum ¶

type ListSightingImpactedResourcesSortOrderEnum string

ListSightingImpactedResourcesSortOrderEnum Enum with underlying type: string

const (
	ListSightingImpactedResourcesSortOrderAsc  ListSightingImpactedResourcesSortOrderEnum = "ASC"
	ListSightingImpactedResourcesSortOrderDesc ListSightingImpactedResourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSightingImpactedResourcesSortOrderEnum

func GetListSightingImpactedResourcesSortOrderEnumValues ¶

func GetListSightingImpactedResourcesSortOrderEnumValues() []ListSightingImpactedResourcesSortOrderEnum

GetListSightingImpactedResourcesSortOrderEnumValues Enumerates the set of values for ListSightingImpactedResourcesSortOrderEnum

func GetMappingListSightingImpactedResourcesSortOrderEnum ¶

func GetMappingListSightingImpactedResourcesSortOrderEnum(val string) (ListSightingImpactedResourcesSortOrderEnum, bool)

GetMappingListSightingImpactedResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingsAccessLevelEnum ¶

type ListSightingsAccessLevelEnum string

ListSightingsAccessLevelEnum Enum with underlying type: string

const (
	ListSightingsAccessLevelRestricted ListSightingsAccessLevelEnum = "RESTRICTED"
	ListSightingsAccessLevelAccessible ListSightingsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListSightingsAccessLevelEnum

func GetListSightingsAccessLevelEnumValues ¶

func GetListSightingsAccessLevelEnumValues() []ListSightingsAccessLevelEnum

GetListSightingsAccessLevelEnumValues Enumerates the set of values for ListSightingsAccessLevelEnum

func GetMappingListSightingsAccessLevelEnum ¶

func GetMappingListSightingsAccessLevelEnum(val string) (ListSightingsAccessLevelEnum, bool)

GetMappingListSightingsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingsRequest ¶

type ListSightingsRequest struct {

	// The OCID 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 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
	SortOrder ListSightingsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListSightingsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
	TimeLastDetectedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastDetectedGreaterThanOrEqualTo"`

	// End time for a filter. If end time is not specified, end time will be set to current time.
	TimeLastDetectedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastDetectedLessThanOrEqualTo"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListSightingsRequest wrapper for the ListSightings operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSightings.go.html to see an example of how to use ListSightingsRequest.

func (ListSightingsRequest) BinaryRequestBody ¶

func (request ListSightingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSightingsRequest) HTTPRequest ¶

func (request ListSightingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSightingsRequest) RetryPolicy ¶

func (request ListSightingsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSightingsRequest) String ¶

func (request ListSightingsRequest) String() string

func (ListSightingsRequest) ValidateEnumValue ¶

func (request ListSightingsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSightingsResponse ¶

type ListSightingsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SightingCollection instances
	SightingCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListSightingsResponse wrapper for the ListSightings operation

func (ListSightingsResponse) HTTPResponse ¶

func (response ListSightingsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSightingsResponse) String ¶

func (response ListSightingsResponse) String() string

type ListSightingsSortByEnum ¶

type ListSightingsSortByEnum string

ListSightingsSortByEnum Enum with underlying type: string

const (
	ListSightingsSortByTimecreated ListSightingsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListSightingsSortByEnum

func GetListSightingsSortByEnumValues ¶

func GetListSightingsSortByEnumValues() []ListSightingsSortByEnum

GetListSightingsSortByEnumValues Enumerates the set of values for ListSightingsSortByEnum

func GetMappingListSightingsSortByEnum ¶

func GetMappingListSightingsSortByEnum(val string) (ListSightingsSortByEnum, bool)

GetMappingListSightingsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingsSortOrderEnum ¶

type ListSightingsSortOrderEnum string

ListSightingsSortOrderEnum Enum with underlying type: string

const (
	ListSightingsSortOrderAsc  ListSightingsSortOrderEnum = "ASC"
	ListSightingsSortOrderDesc ListSightingsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSightingsSortOrderEnum

func GetListSightingsSortOrderEnumValues ¶

func GetListSightingsSortOrderEnumValues() []ListSightingsSortOrderEnum

GetListSightingsSortOrderEnumValues Enumerates the set of values for ListSightingsSortOrderEnum

func GetMappingListSightingsSortOrderEnum ¶

func GetMappingListSightingsSortOrderEnum(val string) (ListSightingsSortOrderEnum, bool)

GetMappingListSightingsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTacticsLifecycleStateEnum ¶

type ListTacticsLifecycleStateEnum string

ListTacticsLifecycleStateEnum Enum with underlying type: string

const (
	ListTacticsLifecycleStateCreating ListTacticsLifecycleStateEnum = "CREATING"
	ListTacticsLifecycleStateUpdating ListTacticsLifecycleStateEnum = "UPDATING"
	ListTacticsLifecycleStateActive   ListTacticsLifecycleStateEnum = "ACTIVE"
	ListTacticsLifecycleStateInactive ListTacticsLifecycleStateEnum = "INACTIVE"
	ListTacticsLifecycleStateDeleting ListTacticsLifecycleStateEnum = "DELETING"
	ListTacticsLifecycleStateDeleted  ListTacticsLifecycleStateEnum = "DELETED"
	ListTacticsLifecycleStateFailed   ListTacticsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTacticsLifecycleStateEnum

func GetListTacticsLifecycleStateEnumValues ¶

func GetListTacticsLifecycleStateEnumValues() []ListTacticsLifecycleStateEnum

GetListTacticsLifecycleStateEnumValues Enumerates the set of values for ListTacticsLifecycleStateEnum

func GetMappingListTacticsLifecycleStateEnum ¶

func GetMappingListTacticsLifecycleStateEnum(val string) (ListTacticsLifecycleStateEnum, bool)

GetMappingListTacticsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTacticsRequest ¶

type ListTacticsRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field lifecycle 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
	SortOrder ListTacticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListTacticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTacticsRequest wrapper for the ListTactics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTactics.go.html to see an example of how to use ListTacticsRequest.

func (ListTacticsRequest) BinaryRequestBody ¶

func (request ListTacticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTacticsRequest) HTTPRequest ¶

func (request ListTacticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTacticsRequest) RetryPolicy ¶

func (request ListTacticsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTacticsRequest) String ¶

func (request ListTacticsRequest) String() string

func (ListTacticsRequest) ValidateEnumValue ¶

func (request ListTacticsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTacticsResponse ¶

type ListTacticsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TacticCollection instances
	TacticCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTacticsResponse wrapper for the ListTactics operation

func (ListTacticsResponse) HTTPResponse ¶

func (response ListTacticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTacticsResponse) String ¶

func (response ListTacticsResponse) String() string

type ListTacticsSortByEnum ¶

type ListTacticsSortByEnum string

ListTacticsSortByEnum Enum with underlying type: string

const (
	ListTacticsSortByDisplayname ListTacticsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTacticsSortByEnum

func GetListTacticsSortByEnumValues ¶

func GetListTacticsSortByEnumValues() []ListTacticsSortByEnum

GetListTacticsSortByEnumValues Enumerates the set of values for ListTacticsSortByEnum

func GetMappingListTacticsSortByEnum ¶

func GetMappingListTacticsSortByEnum(val string) (ListTacticsSortByEnum, bool)

GetMappingListTacticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTacticsSortOrderEnum ¶

type ListTacticsSortOrderEnum string

ListTacticsSortOrderEnum Enum with underlying type: string

const (
	ListTacticsSortOrderAsc  ListTacticsSortOrderEnum = "ASC"
	ListTacticsSortOrderDesc ListTacticsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTacticsSortOrderEnum

func GetListTacticsSortOrderEnumValues ¶

func GetListTacticsSortOrderEnumValues() []ListTacticsSortOrderEnum

GetListTacticsSortOrderEnumValues Enumerates the set of values for ListTacticsSortOrderEnum

func GetMappingListTacticsSortOrderEnum ¶

func GetMappingListTacticsSortOrderEnum(val string) (ListTacticsSortOrderEnum, bool)

GetMappingListTacticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum ¶

type ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum string

ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipeDetectorRulesLifecycleStateCreating ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "CREATING"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateUpdating ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "UPDATING"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateActive   ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "ACTIVE"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateInactive ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "INACTIVE"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateDeleting ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETING"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateDeleted  ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETED"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateFailed   ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum

func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues ¶

func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues() []ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum

GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum

func GetMappingListTargetDetectorRecipeDetectorRulesLifecycleStateEnum ¶

func GetMappingListTargetDetectorRecipeDetectorRulesLifecycleStateEnum(val string) (ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum, bool)

GetMappingListTargetDetectorRecipeDetectorRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDetectorRecipeDetectorRulesRequest ¶

type ListTargetDetectorRecipeDetectorRulesRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of the target detector recipe.
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The OCID 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 lifecycle 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
	SortOrder ListTargetDetectorRecipeDetectorRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListTargetDetectorRecipeDetectorRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetDetectorRecipeDetectorRulesRequest wrapper for the ListTargetDetectorRecipeDetectorRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetDetectorRecipeDetectorRules.go.html to see an example of how to use ListTargetDetectorRecipeDetectorRulesRequest.

func (ListTargetDetectorRecipeDetectorRulesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListTargetDetectorRecipeDetectorRulesRequest) HTTPRequest ¶

func (request ListTargetDetectorRecipeDetectorRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetDetectorRecipeDetectorRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetDetectorRecipeDetectorRulesRequest) String ¶

func (ListTargetDetectorRecipeDetectorRulesRequest) ValidateEnumValue ¶

func (request ListTargetDetectorRecipeDetectorRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTargetDetectorRecipeDetectorRulesResponse ¶

type ListTargetDetectorRecipeDetectorRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetDetectorRecipeDetectorRuleCollection instances
	TargetDetectorRecipeDetectorRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetDetectorRecipeDetectorRulesResponse wrapper for the ListTargetDetectorRecipeDetectorRules operation

func (ListTargetDetectorRecipeDetectorRulesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListTargetDetectorRecipeDetectorRulesResponse) String ¶

type ListTargetDetectorRecipeDetectorRulesSortByEnum ¶

type ListTargetDetectorRecipeDetectorRulesSortByEnum string

ListTargetDetectorRecipeDetectorRulesSortByEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipeDetectorRulesSortByDisplayname ListTargetDetectorRecipeDetectorRulesSortByEnum = "displayName"
	ListTargetDetectorRecipeDetectorRulesSortByRisklevel   ListTargetDetectorRecipeDetectorRulesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesSortByEnum

func GetListTargetDetectorRecipeDetectorRulesSortByEnumValues ¶

func GetListTargetDetectorRecipeDetectorRulesSortByEnumValues() []ListTargetDetectorRecipeDetectorRulesSortByEnum

GetListTargetDetectorRecipeDetectorRulesSortByEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesSortByEnum

func GetMappingListTargetDetectorRecipeDetectorRulesSortByEnum ¶

func GetMappingListTargetDetectorRecipeDetectorRulesSortByEnum(val string) (ListTargetDetectorRecipeDetectorRulesSortByEnum, bool)

GetMappingListTargetDetectorRecipeDetectorRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDetectorRecipeDetectorRulesSortOrderEnum ¶

type ListTargetDetectorRecipeDetectorRulesSortOrderEnum string

ListTargetDetectorRecipeDetectorRulesSortOrderEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipeDetectorRulesSortOrderAsc  ListTargetDetectorRecipeDetectorRulesSortOrderEnum = "ASC"
	ListTargetDetectorRecipeDetectorRulesSortOrderDesc ListTargetDetectorRecipeDetectorRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesSortOrderEnum

func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues ¶

func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues() []ListTargetDetectorRecipeDetectorRulesSortOrderEnum

GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesSortOrderEnum

func GetMappingListTargetDetectorRecipeDetectorRulesSortOrderEnum ¶

func GetMappingListTargetDetectorRecipeDetectorRulesSortOrderEnum(val string) (ListTargetDetectorRecipeDetectorRulesSortOrderEnum, bool)

GetMappingListTargetDetectorRecipeDetectorRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDetectorRecipesLifecycleStateEnum ¶

type ListTargetDetectorRecipesLifecycleStateEnum string

ListTargetDetectorRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipesLifecycleStateCreating ListTargetDetectorRecipesLifecycleStateEnum = "CREATING"
	ListTargetDetectorRecipesLifecycleStateUpdating ListTargetDetectorRecipesLifecycleStateEnum = "UPDATING"
	ListTargetDetectorRecipesLifecycleStateActive   ListTargetDetectorRecipesLifecycleStateEnum = "ACTIVE"
	ListTargetDetectorRecipesLifecycleStateInactive ListTargetDetectorRecipesLifecycleStateEnum = "INACTIVE"
	ListTargetDetectorRecipesLifecycleStateDeleting ListTargetDetectorRecipesLifecycleStateEnum = "DELETING"
	ListTargetDetectorRecipesLifecycleStateDeleted  ListTargetDetectorRecipesLifecycleStateEnum = "DELETED"
	ListTargetDetectorRecipesLifecycleStateFailed   ListTargetDetectorRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetDetectorRecipesLifecycleStateEnum

func GetListTargetDetectorRecipesLifecycleStateEnumValues ¶

func GetListTargetDetectorRecipesLifecycleStateEnumValues() []ListTargetDetectorRecipesLifecycleStateEnum

GetListTargetDetectorRecipesLifecycleStateEnumValues Enumerates the set of values for ListTargetDetectorRecipesLifecycleStateEnum

func GetMappingListTargetDetectorRecipesLifecycleStateEnum ¶

func GetMappingListTargetDetectorRecipesLifecycleStateEnum(val string) (ListTargetDetectorRecipesLifecycleStateEnum, bool)

GetMappingListTargetDetectorRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDetectorRecipesRequest ¶

type ListTargetDetectorRecipesRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// The OCID 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 lifecycle 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
	SortOrder ListTargetDetectorRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListTargetDetectorRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetDetectorRecipesRequest wrapper for the ListTargetDetectorRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetDetectorRecipes.go.html to see an example of how to use ListTargetDetectorRecipesRequest.

func (ListTargetDetectorRecipesRequest) BinaryRequestBody ¶

func (request ListTargetDetectorRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTargetDetectorRecipesRequest) HTTPRequest ¶

func (request ListTargetDetectorRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetDetectorRecipesRequest) RetryPolicy ¶

func (request ListTargetDetectorRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetDetectorRecipesRequest) String ¶

func (request ListTargetDetectorRecipesRequest) String() string

func (ListTargetDetectorRecipesRequest) ValidateEnumValue ¶

func (request ListTargetDetectorRecipesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTargetDetectorRecipesResponse ¶

type ListTargetDetectorRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetDetectorRecipeCollection instances
	TargetDetectorRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetDetectorRecipesResponse wrapper for the ListTargetDetectorRecipes operation

func (ListTargetDetectorRecipesResponse) HTTPResponse ¶

func (response ListTargetDetectorRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTargetDetectorRecipesResponse) String ¶

func (response ListTargetDetectorRecipesResponse) String() string

type ListTargetDetectorRecipesSortByEnum ¶

type ListTargetDetectorRecipesSortByEnum string

ListTargetDetectorRecipesSortByEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipesSortByTimecreated ListTargetDetectorRecipesSortByEnum = "timeCreated"
	ListTargetDetectorRecipesSortByDisplayname ListTargetDetectorRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTargetDetectorRecipesSortByEnum

func GetListTargetDetectorRecipesSortByEnumValues ¶

func GetListTargetDetectorRecipesSortByEnumValues() []ListTargetDetectorRecipesSortByEnum

GetListTargetDetectorRecipesSortByEnumValues Enumerates the set of values for ListTargetDetectorRecipesSortByEnum

func GetMappingListTargetDetectorRecipesSortByEnum ¶

func GetMappingListTargetDetectorRecipesSortByEnum(val string) (ListTargetDetectorRecipesSortByEnum, bool)

GetMappingListTargetDetectorRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDetectorRecipesSortOrderEnum ¶

type ListTargetDetectorRecipesSortOrderEnum string

ListTargetDetectorRecipesSortOrderEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipesSortOrderAsc  ListTargetDetectorRecipesSortOrderEnum = "ASC"
	ListTargetDetectorRecipesSortOrderDesc ListTargetDetectorRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetDetectorRecipesSortOrderEnum

func GetListTargetDetectorRecipesSortOrderEnumValues ¶

func GetListTargetDetectorRecipesSortOrderEnumValues() []ListTargetDetectorRecipesSortOrderEnum

GetListTargetDetectorRecipesSortOrderEnumValues Enumerates the set of values for ListTargetDetectorRecipesSortOrderEnum

func GetMappingListTargetDetectorRecipesSortOrderEnum ¶

func GetMappingListTargetDetectorRecipesSortOrderEnum(val string) (ListTargetDetectorRecipesSortOrderEnum, bool)

GetMappingListTargetDetectorRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetResponderRecipeResponderRulesLifecycleStateEnum ¶

type ListTargetResponderRecipeResponderRulesLifecycleStateEnum string

ListTargetResponderRecipeResponderRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetResponderRecipeResponderRulesLifecycleStateCreating ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "CREATING"
	ListTargetResponderRecipeResponderRulesLifecycleStateUpdating ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "UPDATING"
	ListTargetResponderRecipeResponderRulesLifecycleStateActive   ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "ACTIVE"
	ListTargetResponderRecipeResponderRulesLifecycleStateInactive ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "INACTIVE"
	ListTargetResponderRecipeResponderRulesLifecycleStateDeleting ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "DELETING"
	ListTargetResponderRecipeResponderRulesLifecycleStateDeleted  ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "DELETED"
	ListTargetResponderRecipeResponderRulesLifecycleStateFailed   ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesLifecycleStateEnum

func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues ¶

func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues() []ListTargetResponderRecipeResponderRulesLifecycleStateEnum

GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesLifecycleStateEnum

func GetMappingListTargetResponderRecipeResponderRulesLifecycleStateEnum ¶

func GetMappingListTargetResponderRecipeResponderRulesLifecycleStateEnum(val string) (ListTargetResponderRecipeResponderRulesLifecycleStateEnum, bool)

GetMappingListTargetResponderRecipeResponderRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetResponderRecipeResponderRulesRequest ¶

type ListTargetResponderRecipeResponderRulesRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of the target responder recipe.
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The OCID 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 lifecycle 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
	SortOrder ListTargetResponderRecipeResponderRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListTargetResponderRecipeResponderRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetResponderRecipeResponderRulesRequest wrapper for the ListTargetResponderRecipeResponderRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetResponderRecipeResponderRules.go.html to see an example of how to use ListTargetResponderRecipeResponderRulesRequest.

func (ListTargetResponderRecipeResponderRulesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListTargetResponderRecipeResponderRulesRequest) HTTPRequest ¶

func (request ListTargetResponderRecipeResponderRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetResponderRecipeResponderRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetResponderRecipeResponderRulesRequest) String ¶

func (ListTargetResponderRecipeResponderRulesRequest) ValidateEnumValue ¶

func (request ListTargetResponderRecipeResponderRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTargetResponderRecipeResponderRulesResponse ¶

type ListTargetResponderRecipeResponderRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetResponderRecipeResponderRuleCollection instances
	TargetResponderRecipeResponderRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetResponderRecipeResponderRulesResponse wrapper for the ListTargetResponderRecipeResponderRules operation

func (ListTargetResponderRecipeResponderRulesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListTargetResponderRecipeResponderRulesResponse) String ¶

type ListTargetResponderRecipeResponderRulesSortByEnum ¶

type ListTargetResponderRecipeResponderRulesSortByEnum string

ListTargetResponderRecipeResponderRulesSortByEnum Enum with underlying type: string

const (
	ListTargetResponderRecipeResponderRulesSortByDisplayname ListTargetResponderRecipeResponderRulesSortByEnum = "displayName"
	ListTargetResponderRecipeResponderRulesSortByRisklevel   ListTargetResponderRecipeResponderRulesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesSortByEnum

func GetListTargetResponderRecipeResponderRulesSortByEnumValues ¶

func GetListTargetResponderRecipeResponderRulesSortByEnumValues() []ListTargetResponderRecipeResponderRulesSortByEnum

GetListTargetResponderRecipeResponderRulesSortByEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesSortByEnum

func GetMappingListTargetResponderRecipeResponderRulesSortByEnum ¶

func GetMappingListTargetResponderRecipeResponderRulesSortByEnum(val string) (ListTargetResponderRecipeResponderRulesSortByEnum, bool)

GetMappingListTargetResponderRecipeResponderRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetResponderRecipeResponderRulesSortOrderEnum ¶

type ListTargetResponderRecipeResponderRulesSortOrderEnum string

ListTargetResponderRecipeResponderRulesSortOrderEnum Enum with underlying type: string

const (
	ListTargetResponderRecipeResponderRulesSortOrderAsc  ListTargetResponderRecipeResponderRulesSortOrderEnum = "ASC"
	ListTargetResponderRecipeResponderRulesSortOrderDesc ListTargetResponderRecipeResponderRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesSortOrderEnum

func GetListTargetResponderRecipeResponderRulesSortOrderEnumValues ¶

func GetListTargetResponderRecipeResponderRulesSortOrderEnumValues() []ListTargetResponderRecipeResponderRulesSortOrderEnum

GetListTargetResponderRecipeResponderRulesSortOrderEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesSortOrderEnum

func GetMappingListTargetResponderRecipeResponderRulesSortOrderEnum ¶

func GetMappingListTargetResponderRecipeResponderRulesSortOrderEnum(val string) (ListTargetResponderRecipeResponderRulesSortOrderEnum, bool)

GetMappingListTargetResponderRecipeResponderRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetResponderRecipesLifecycleStateEnum ¶

type ListTargetResponderRecipesLifecycleStateEnum string

ListTargetResponderRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetResponderRecipesLifecycleStateCreating ListTargetResponderRecipesLifecycleStateEnum = "CREATING"
	ListTargetResponderRecipesLifecycleStateUpdating ListTargetResponderRecipesLifecycleStateEnum = "UPDATING"
	ListTargetResponderRecipesLifecycleStateActive   ListTargetResponderRecipesLifecycleStateEnum = "ACTIVE"
	ListTargetResponderRecipesLifecycleStateInactive ListTargetResponderRecipesLifecycleStateEnum = "INACTIVE"
	ListTargetResponderRecipesLifecycleStateDeleting ListTargetResponderRecipesLifecycleStateEnum = "DELETING"
	ListTargetResponderRecipesLifecycleStateDeleted  ListTargetResponderRecipesLifecycleStateEnum = "DELETED"
	ListTargetResponderRecipesLifecycleStateFailed   ListTargetResponderRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetResponderRecipesLifecycleStateEnum

func GetListTargetResponderRecipesLifecycleStateEnumValues ¶

func GetListTargetResponderRecipesLifecycleStateEnumValues() []ListTargetResponderRecipesLifecycleStateEnum

GetListTargetResponderRecipesLifecycleStateEnumValues Enumerates the set of values for ListTargetResponderRecipesLifecycleStateEnum

func GetMappingListTargetResponderRecipesLifecycleStateEnum ¶

func GetMappingListTargetResponderRecipesLifecycleStateEnum(val string) (ListTargetResponderRecipesLifecycleStateEnum, bool)

GetMappingListTargetResponderRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetResponderRecipesRequest ¶

type ListTargetResponderRecipesRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// The OCID 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 lifecycle 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
	SortOrder ListTargetResponderRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListTargetResponderRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetResponderRecipesRequest wrapper for the ListTargetResponderRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetResponderRecipes.go.html to see an example of how to use ListTargetResponderRecipesRequest.

func (ListTargetResponderRecipesRequest) BinaryRequestBody ¶

func (request ListTargetResponderRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTargetResponderRecipesRequest) HTTPRequest ¶

func (request ListTargetResponderRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetResponderRecipesRequest) RetryPolicy ¶

func (request ListTargetResponderRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetResponderRecipesRequest) String ¶

func (request ListTargetResponderRecipesRequest) String() string

func (ListTargetResponderRecipesRequest) ValidateEnumValue ¶

func (request ListTargetResponderRecipesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTargetResponderRecipesResponse ¶

type ListTargetResponderRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetResponderRecipeCollection instances
	TargetResponderRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetResponderRecipesResponse wrapper for the ListTargetResponderRecipes operation

func (ListTargetResponderRecipesResponse) HTTPResponse ¶

func (response ListTargetResponderRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTargetResponderRecipesResponse) String ¶

func (response ListTargetResponderRecipesResponse) String() string

type ListTargetResponderRecipesSortByEnum ¶

type ListTargetResponderRecipesSortByEnum string

ListTargetResponderRecipesSortByEnum Enum with underlying type: string

const (
	ListTargetResponderRecipesSortByTimecreated ListTargetResponderRecipesSortByEnum = "timeCreated"
	ListTargetResponderRecipesSortByDisplayname ListTargetResponderRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTargetResponderRecipesSortByEnum

func GetListTargetResponderRecipesSortByEnumValues ¶

func GetListTargetResponderRecipesSortByEnumValues() []ListTargetResponderRecipesSortByEnum

GetListTargetResponderRecipesSortByEnumValues Enumerates the set of values for ListTargetResponderRecipesSortByEnum

func GetMappingListTargetResponderRecipesSortByEnum ¶

func GetMappingListTargetResponderRecipesSortByEnum(val string) (ListTargetResponderRecipesSortByEnum, bool)

GetMappingListTargetResponderRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetResponderRecipesSortOrderEnum ¶

type ListTargetResponderRecipesSortOrderEnum string

ListTargetResponderRecipesSortOrderEnum Enum with underlying type: string

const (
	ListTargetResponderRecipesSortOrderAsc  ListTargetResponderRecipesSortOrderEnum = "ASC"
	ListTargetResponderRecipesSortOrderDesc ListTargetResponderRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetResponderRecipesSortOrderEnum

func GetListTargetResponderRecipesSortOrderEnumValues ¶

func GetListTargetResponderRecipesSortOrderEnumValues() []ListTargetResponderRecipesSortOrderEnum

GetListTargetResponderRecipesSortOrderEnumValues Enumerates the set of values for ListTargetResponderRecipesSortOrderEnum

func GetMappingListTargetResponderRecipesSortOrderEnum ¶

func GetMappingListTargetResponderRecipesSortOrderEnum(val string) (ListTargetResponderRecipesSortOrderEnum, bool)

GetMappingListTargetResponderRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetsAccessLevelEnum ¶

type ListTargetsAccessLevelEnum string

ListTargetsAccessLevelEnum Enum with underlying type: string

const (
	ListTargetsAccessLevelRestricted ListTargetsAccessLevelEnum = "RESTRICTED"
	ListTargetsAccessLevelAccessible ListTargetsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListTargetsAccessLevelEnum

func GetListTargetsAccessLevelEnumValues ¶

func GetListTargetsAccessLevelEnumValues() []ListTargetsAccessLevelEnum

GetListTargetsAccessLevelEnumValues Enumerates the set of values for ListTargetsAccessLevelEnum

func GetMappingListTargetsAccessLevelEnum ¶

func GetMappingListTargetsAccessLevelEnum(val string) (ListTargetsAccessLevelEnum, bool)

GetMappingListTargetsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetsLifecycleStateEnum ¶

type ListTargetsLifecycleStateEnum string

ListTargetsLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetsLifecycleStateCreating ListTargetsLifecycleStateEnum = "CREATING"
	ListTargetsLifecycleStateUpdating ListTargetsLifecycleStateEnum = "UPDATING"
	ListTargetsLifecycleStateActive   ListTargetsLifecycleStateEnum = "ACTIVE"
	ListTargetsLifecycleStateInactive ListTargetsLifecycleStateEnum = "INACTIVE"
	ListTargetsLifecycleStateDeleting ListTargetsLifecycleStateEnum = "DELETING"
	ListTargetsLifecycleStateDeleted  ListTargetsLifecycleStateEnum = "DELETED"
	ListTargetsLifecycleStateFailed   ListTargetsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetsLifecycleStateEnum

func GetListTargetsLifecycleStateEnumValues ¶

func GetListTargetsLifecycleStateEnumValues() []ListTargetsLifecycleStateEnum

GetListTargetsLifecycleStateEnumValues Enumerates the set of values for ListTargetsLifecycleStateEnum

func GetMappingListTargetsLifecycleStateEnum ¶

func GetMappingListTargetsLifecycleStateEnum(val string) (ListTargetsLifecycleStateEnum, bool)

GetMappingListTargetsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetsRequest ¶

type ListTargetsRequest struct {

	// The OCID 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 lifecycle 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 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
	SortOrder ListTargetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListTargetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetsRequest wrapper for the ListTargets operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargets.go.html to see an example of how to use ListTargetsRequest.

func (ListTargetsRequest) BinaryRequestBody ¶

func (request ListTargetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTargetsRequest) HTTPRequest ¶

func (request ListTargetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetsRequest) RetryPolicy ¶

func (request ListTargetsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetsRequest) String ¶

func (request ListTargetsRequest) String() string

func (ListTargetsRequest) ValidateEnumValue ¶

func (request ListTargetsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTargetsResponse ¶

type ListTargetsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetCollection instances
	TargetCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetsResponse wrapper for the ListTargets operation

func (ListTargetsResponse) HTTPResponse ¶

func (response ListTargetsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTargetsResponse) String ¶

func (response ListTargetsResponse) String() string

type ListTargetsSortByEnum ¶

type ListTargetsSortByEnum string

ListTargetsSortByEnum Enum with underlying type: string

const (
	ListTargetsSortByTimecreated ListTargetsSortByEnum = "timeCreated"
	ListTargetsSortByDisplayname ListTargetsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTargetsSortByEnum

func GetListTargetsSortByEnumValues ¶

func GetListTargetsSortByEnumValues() []ListTargetsSortByEnum

GetListTargetsSortByEnumValues Enumerates the set of values for ListTargetsSortByEnum

func GetMappingListTargetsSortByEnum ¶

func GetMappingListTargetsSortByEnum(val string) (ListTargetsSortByEnum, bool)

GetMappingListTargetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetsSortOrderEnum ¶

type ListTargetsSortOrderEnum string

ListTargetsSortOrderEnum Enum with underlying type: string

const (
	ListTargetsSortOrderAsc  ListTargetsSortOrderEnum = "ASC"
	ListTargetsSortOrderDesc ListTargetsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetsSortOrderEnum

func GetListTargetsSortOrderEnumValues ¶

func GetListTargetsSortOrderEnumValues() []ListTargetsSortOrderEnum

GetListTargetsSortOrderEnumValues Enumerates the set of values for ListTargetsSortOrderEnum

func GetMappingListTargetsSortOrderEnum ¶

func GetMappingListTargetsSortOrderEnum(val string) (ListTargetsSortOrderEnum, bool)

GetMappingListTargetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTechniquesLifecycleStateEnum ¶

type ListTechniquesLifecycleStateEnum string

ListTechniquesLifecycleStateEnum Enum with underlying type: string

const (
	ListTechniquesLifecycleStateCreating ListTechniquesLifecycleStateEnum = "CREATING"
	ListTechniquesLifecycleStateUpdating ListTechniquesLifecycleStateEnum = "UPDATING"
	ListTechniquesLifecycleStateActive   ListTechniquesLifecycleStateEnum = "ACTIVE"
	ListTechniquesLifecycleStateInactive ListTechniquesLifecycleStateEnum = "INACTIVE"
	ListTechniquesLifecycleStateDeleting ListTechniquesLifecycleStateEnum = "DELETING"
	ListTechniquesLifecycleStateDeleted  ListTechniquesLifecycleStateEnum = "DELETED"
	ListTechniquesLifecycleStateFailed   ListTechniquesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTechniquesLifecycleStateEnum

func GetListTechniquesLifecycleStateEnumValues ¶

func GetListTechniquesLifecycleStateEnumValues() []ListTechniquesLifecycleStateEnum

GetListTechniquesLifecycleStateEnumValues Enumerates the set of values for ListTechniquesLifecycleStateEnum

func GetMappingListTechniquesLifecycleStateEnum ¶

func GetMappingListTechniquesLifecycleStateEnum(val string) (ListTechniquesLifecycleStateEnum, bool)

GetMappingListTechniquesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTechniquesRequest ¶

type ListTechniquesRequest struct {

	// The OCID 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 lifecycle 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
	SortOrder ListTechniquesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListTechniquesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTechniquesRequest wrapper for the ListTechniques operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTechniques.go.html to see an example of how to use ListTechniquesRequest.

func (ListTechniquesRequest) BinaryRequestBody ¶

func (request ListTechniquesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTechniquesRequest) HTTPRequest ¶

func (request ListTechniquesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTechniquesRequest) RetryPolicy ¶

func (request ListTechniquesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTechniquesRequest) String ¶

func (request ListTechniquesRequest) String() string

func (ListTechniquesRequest) ValidateEnumValue ¶

func (request ListTechniquesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTechniquesResponse ¶

type ListTechniquesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TechniqueCollection instances
	TechniqueCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTechniquesResponse wrapper for the ListTechniques operation

func (ListTechniquesResponse) HTTPResponse ¶

func (response ListTechniquesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTechniquesResponse) String ¶

func (response ListTechniquesResponse) String() string

type ListTechniquesSortByEnum ¶

type ListTechniquesSortByEnum string

ListTechniquesSortByEnum Enum with underlying type: string

const (
	ListTechniquesSortByDisplayname ListTechniquesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTechniquesSortByEnum

func GetListTechniquesSortByEnumValues ¶

func GetListTechniquesSortByEnumValues() []ListTechniquesSortByEnum

GetListTechniquesSortByEnumValues Enumerates the set of values for ListTechniquesSortByEnum

func GetMappingListTechniquesSortByEnum ¶

func GetMappingListTechniquesSortByEnum(val string) (ListTechniquesSortByEnum, bool)

GetMappingListTechniquesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTechniquesSortOrderEnum ¶

type ListTechniquesSortOrderEnum string

ListTechniquesSortOrderEnum Enum with underlying type: string

const (
	ListTechniquesSortOrderAsc  ListTechniquesSortOrderEnum = "ASC"
	ListTechniquesSortOrderDesc ListTechniquesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTechniquesSortOrderEnum

func GetListTechniquesSortOrderEnumValues ¶

func GetListTechniquesSortOrderEnumValues() []ListTechniquesSortOrderEnum

GetListTechniquesSortOrderEnumValues Enumerates the set of values for ListTechniquesSortOrderEnum

func GetMappingListTechniquesSortOrderEnum ¶

func GetMappingListTechniquesSortOrderEnum(val string) (ListTechniquesSortOrderEnum, bool)

GetMappingListTechniquesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWlpAgentsRequest ¶ added in v65.64.0

type ListWlpAgentsRequest struct {

	// The OCID 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 sort order to use
	SortOrder ListWlpAgentsSortOrderEnum `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 ListWlpAgentsSortByEnum `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
}

ListWlpAgentsRequest wrapper for the ListWlpAgents operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListWlpAgents.go.html to see an example of how to use ListWlpAgentsRequest.

func (ListWlpAgentsRequest) BinaryRequestBody ¶ added in v65.64.0

func (request ListWlpAgentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWlpAgentsRequest) HTTPRequest ¶ added in v65.64.0

func (request ListWlpAgentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWlpAgentsRequest) RetryPolicy ¶ added in v65.64.0

func (request ListWlpAgentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWlpAgentsRequest) String ¶ added in v65.64.0

func (request ListWlpAgentsRequest) String() string

func (ListWlpAgentsRequest) ValidateEnumValue ¶ added in v65.64.0

func (request ListWlpAgentsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWlpAgentsResponse ¶ added in v65.64.0

type ListWlpAgentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WlpAgentCollection instances
	WlpAgentCollection `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"`
}

ListWlpAgentsResponse wrapper for the ListWlpAgents operation

func (ListWlpAgentsResponse) HTTPResponse ¶ added in v65.64.0

func (response ListWlpAgentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWlpAgentsResponse) String ¶ added in v65.64.0

func (response ListWlpAgentsResponse) String() string

type ListWlpAgentsSortByEnum ¶ added in v65.64.0

type ListWlpAgentsSortByEnum string

ListWlpAgentsSortByEnum Enum with underlying type: string

const (
	ListWlpAgentsSortByTimecreated ListWlpAgentsSortByEnum = "timeCreated"
	ListWlpAgentsSortByDisplayname ListWlpAgentsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListWlpAgentsSortByEnum

func GetListWlpAgentsSortByEnumValues ¶ added in v65.64.0

func GetListWlpAgentsSortByEnumValues() []ListWlpAgentsSortByEnum

GetListWlpAgentsSortByEnumValues Enumerates the set of values for ListWlpAgentsSortByEnum

func GetMappingListWlpAgentsSortByEnum ¶ added in v65.64.0

func GetMappingListWlpAgentsSortByEnum(val string) (ListWlpAgentsSortByEnum, bool)

GetMappingListWlpAgentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWlpAgentsSortOrderEnum ¶ added in v65.64.0

type ListWlpAgentsSortOrderEnum string

ListWlpAgentsSortOrderEnum Enum with underlying type: string

const (
	ListWlpAgentsSortOrderAsc  ListWlpAgentsSortOrderEnum = "ASC"
	ListWlpAgentsSortOrderDesc ListWlpAgentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWlpAgentsSortOrderEnum

func GetListWlpAgentsSortOrderEnumValues ¶ added in v65.64.0

func GetListWlpAgentsSortOrderEnumValues() []ListWlpAgentsSortOrderEnum

GetListWlpAgentsSortOrderEnumValues Enumerates the set of values for ListWlpAgentsSortOrderEnum

func GetMappingListWlpAgentsSortOrderEnum ¶ added in v65.64.0

func GetMappingListWlpAgentsSortOrderEnum(val string) (ListWlpAgentsSortOrderEnum, bool)

GetMappingListWlpAgentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest ¶ added in v65.17.0

type ListWorkRequestErrorsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
	SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use
	SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest ¶ added in v65.17.0

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy ¶ added in v65.17.0

func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestErrorsRequest) String ¶ added in v65.17.0

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse ¶ added in v65.17.0

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestErrorCollection instances
	WorkRequestErrorCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse ¶ added in v65.17.0

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String ¶ added in v65.17.0

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum ¶ added in v65.17.0

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues ¶ added in v65.17.0

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum ¶ added in v65.17.0

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsSortOrderEnum ¶ added in v65.17.0

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
	ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues ¶ added in v65.17.0

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum ¶ added in v65.17.0

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsRequest ¶ added in v65.17.0

type ListWorkRequestLogsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
	SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use
	SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

func (ListWorkRequestLogsRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest ¶ added in v65.17.0

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy ¶ added in v65.17.0

func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestLogsRequest) String ¶ added in v65.17.0

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse ¶ added in v65.17.0

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestLogEntryCollection instances
	WorkRequestLogEntryCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse ¶ added in v65.17.0

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String ¶ added in v65.17.0

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum ¶ added in v65.17.0

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues ¶ added in v65.17.0

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum ¶ added in v65.17.0

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsSortOrderEnum ¶ added in v65.17.0

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
	ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues ¶ added in v65.17.0

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum ¶ added in v65.17.0

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsRequest ¶ added in v65.17.0

type ListWorkRequestsRequest struct {

	// The OCID 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 operation status (OperationStatus resource).
	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
	SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
	SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

func (ListWorkRequestsRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest ¶ added in v65.17.0

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy ¶ added in v65.17.0

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String ¶ added in v65.17.0

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse ¶ added in v65.17.0

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestSummaryCollection instances
	WorkRequestSummaryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse ¶ added in v65.17.0

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String ¶ added in v65.17.0

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum ¶ added in v65.17.0

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues ¶ added in v65.17.0

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum ¶ added in v65.17.0

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum ¶ added in v65.17.0

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
	ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues ¶ added in v65.17.0

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum ¶ added in v65.17.0

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsStatusEnum ¶ added in v65.17.0

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

const (
	ListWorkRequestsStatusAccepted   ListWorkRequestsStatusEnum = "ACCEPTED"
	ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
	ListWorkRequestsStatusWaiting    ListWorkRequestsStatusEnum = "WAITING"
	ListWorkRequestsStatusFailed     ListWorkRequestsStatusEnum = "FAILED"
	ListWorkRequestsStatusSucceeded  ListWorkRequestsStatusEnum = "SUCCEEDED"
	ListWorkRequestsStatusCanceling  ListWorkRequestsStatusEnum = "CANCELING"
	ListWorkRequestsStatusCanceled   ListWorkRequestsStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues ¶ added in v65.17.0

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum ¶ added in v65.17.0

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type LoggingEventInfo ¶ added in v65.17.0

type LoggingEventInfo struct {

	// Observed value of DataSource for a Problem
	ObservedValue *string `mandatory:"false" json:"observedValue"`

	// Triggered value of DataSource for a Problem
	TriggerValue *string `mandatory:"false" json:"triggerValue"`

	// Operator details of DataSource for a Problem
	Operator *string `mandatory:"false" json:"operator"`

	// Log result details of DataSource for a Problem
	LogResult *string `mandatory:"false" json:"logResult"`
}

LoggingEventInfo Information for a logging event for a data source.

func (LoggingEventInfo) MarshalJSON ¶ added in v65.17.0

func (m LoggingEventInfo) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LoggingEventInfo) String ¶ added in v65.17.0

func (m LoggingEventInfo) String() string

func (LoggingEventInfo) ValidateEnumValue ¶ added in v65.17.0

func (m LoggingEventInfo) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LoggingQueryDataSourceDetails ¶ added in v65.17.0

type LoggingQueryDataSourceDetails struct {

	// List of logging query regions
	Regions []string `mandatory:"false" json:"regions"`

	// The continuous query expression that is run periodicall
	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), for 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 source
	Operator LoggingQueryOperatorTypeEnum `mandatory:"false" json:"operator,omitempty"`

	// Type of logging query for data source (Sighting/Insight)
	LoggingQueryType LoggingQueryTypeEnum `mandatory:"false" json:"loggingQueryType,omitempty"`
}

LoggingQueryDataSourceDetails Information for a logging query for a data source.

func (LoggingQueryDataSourceDetails) MarshalJSON ¶ added in v65.17.0

func (m LoggingQueryDataSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LoggingQueryDataSourceDetails) String ¶ added in v65.17.0

func (*LoggingQueryDataSourceDetails) UnmarshalJSON ¶ added in v65.17.0

func (m *LoggingQueryDataSourceDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (LoggingQueryDataSourceDetails) ValidateEnumValue ¶ added in v65.17.0

func (m LoggingQueryDataSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LoggingQueryDataSourceSummaryDetails ¶ added in v65.17.0

type LoggingQueryDataSourceSummaryDetails struct {

	// Data source customer-specified regions
	Regions []string `mandatory:"false" json:"regions"`

	// Data source mapping with detector recipe and detector rule
	DataSourceDetectorMappingInfo []DataSourceMappingInfo `mandatory:"false" json:"dataSourceDetectorMappingInfo"`

	// Data source query metadata replication region and status.
	RegionStatusDetail []RegionStatusDetail `mandatory:"false" json:"regionStatusDetail"`
}

LoggingQueryDataSourceSummaryDetails Summary information for a logging query for a data source.

func (LoggingQueryDataSourceSummaryDetails) MarshalJSON ¶ added in v65.17.0

func (m LoggingQueryDataSourceSummaryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LoggingQueryDataSourceSummaryDetails) String ¶ added in v65.17.0

func (LoggingQueryDataSourceSummaryDetails) ValidateEnumValue ¶ added in v65.17.0

func (m LoggingQueryDataSourceSummaryDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LoggingQueryDetails ¶ added in v65.17.0

type LoggingQueryDetails interface {
}

LoggingQueryDetails Details for a logging query for a data source.

type LoggingQueryOperatorTypeEnum ¶ added in v65.17.0

type LoggingQueryOperatorTypeEnum string

LoggingQueryOperatorTypeEnum Enum with underlying type: string

const (
	LoggingQueryOperatorTypeEqual              LoggingQueryOperatorTypeEnum = "EQUAL"
	LoggingQueryOperatorTypeGreater            LoggingQueryOperatorTypeEnum = "GREATER"
	LoggingQueryOperatorTypeGreaterthanequalto LoggingQueryOperatorTypeEnum = "GREATERTHANEQUALTO"
	LoggingQueryOperatorTypeLess               LoggingQueryOperatorTypeEnum = "LESS"
	LoggingQueryOperatorTypeLessthanequalto    LoggingQueryOperatorTypeEnum = "LESSTHANEQUALTO"
)

Set of constants representing the allowable values for LoggingQueryOperatorTypeEnum

func GetLoggingQueryOperatorTypeEnumValues ¶ added in v65.17.0

func GetLoggingQueryOperatorTypeEnumValues() []LoggingQueryOperatorTypeEnum

GetLoggingQueryOperatorTypeEnumValues Enumerates the set of values for LoggingQueryOperatorTypeEnum

func GetMappingLoggingQueryOperatorTypeEnum ¶ added in v65.17.0

func GetMappingLoggingQueryOperatorTypeEnum(val string) (LoggingQueryOperatorTypeEnum, bool)

GetMappingLoggingQueryOperatorTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type LoggingQueryTypeEnum ¶ added in v65.17.0

type LoggingQueryTypeEnum string

LoggingQueryTypeEnum Enum with underlying type: string

const (
	LoggingQueryTypeInsight LoggingQueryTypeEnum = "INSIGHT"
)

Set of constants representing the allowable values for LoggingQueryTypeEnum

func GetLoggingQueryTypeEnumValues ¶ added in v65.17.0

func GetLoggingQueryTypeEnumValues() []LoggingQueryTypeEnum

GetLoggingQueryTypeEnumValues Enumerates the set of values for LoggingQueryTypeEnum

func GetMappingLoggingQueryTypeEnum ¶ added in v65.17.0

func GetMappingLoggingQueryTypeEnum(val string) (LoggingQueryTypeEnum, bool)

GetMappingLoggingQueryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ManagedList ¶

type ManagedList struct {

	// Unique identifier that can't be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// Managed list display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment OCID where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Type of information contained in the managed list
	ListType ManagedListTypeEnum `mandatory:"true" json:"listType"`

	// Managed list description
	Description *string `mandatory:"false" json:"description"`

	// OCID of the source managed list
	SourceManagedListId *string `mandatory:"false" json:"sourceManagedListId"`

	// List of items in the managed list
	ListItems []string `mandatory:"false" json:"listItems"`

	// Provider of the managed list feed
	FeedProvider FeedProviderTypeEnum `mandatory:"false" json:"feedProvider,omitempty"`

	// Is this list editable?
	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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle 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. [DEPRECATE]
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ManagedList A managed list is a reusable list of parameters that makes it easier to set the scope for detector and responder rules. A ManagedList resource contains the reusable list of parameters, plus metadata for the list.

func (ManagedList) String ¶

func (m ManagedList) String() string

func (ManagedList) ValidateEnumValue ¶

func (m ManagedList) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedListCollection ¶

type ManagedListCollection struct {

	// List of ManagedListSummary resources
	Items []ManagedListSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ManagedListCollection Collection of managed list summaries.

func (ManagedListCollection) String ¶

func (m ManagedListCollection) String() string

func (ManagedListCollection) ValidateEnumValue ¶

func (m ManagedListCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedListSummary ¶

type ManagedListSummary struct {

	// Unique identifier that can't be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// Managed list display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment OCID where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Type of information stored in the managed list
	ListType ManagedListTypeEnum `mandatory:"true" json:"listType"`

	// Provider of the feed
	FeedProvider FeedProviderTypeEnum `mandatory:"true" json:"feedProvider"`

	// List of items in the managed list
	ListItems []string `mandatory:"true" json:"listItems"`

	// Managed list description
	Description *string `mandatory:"false" json:"description"`

	// OCID of the source managed list
	SourceManagedListId *string `mandatory:"false" json:"sourceManagedListId"`

	// Is this list editable?
	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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle 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. [DEPRECATE]
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ManagedListSummary Summary information for a managed list.

func (ManagedListSummary) String ¶

func (m ManagedListSummary) String() string

func (ManagedListSummary) ValidateEnumValue ¶

func (m ManagedListSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedListTypeCollection ¶

type ManagedListTypeCollection struct {

	// List of ManagedListTypeSummary resources
	Items []ManagedListTypeSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ManagedListTypeCollection Collection of managed list type summaries.

func (ManagedListTypeCollection) String ¶

func (m ManagedListTypeCollection) String() string

func (ManagedListTypeCollection) ValidateEnumValue ¶

func (m ManagedListTypeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedListTypeEnum ¶

type ManagedListTypeEnum string

ManagedListTypeEnum Enum with underlying type: string

const (
	ManagedListTypeCidrBlock            ManagedListTypeEnum = "CIDR_BLOCK"
	ManagedListTypeUsers                ManagedListTypeEnum = "USERS"
	ManagedListTypeGroups               ManagedListTypeEnum = "GROUPS"
	ManagedListTypeIpv4Address          ManagedListTypeEnum = "IPV4ADDRESS"
	ManagedListTypeIpv6Address          ManagedListTypeEnum = "IPV6ADDRESS"
	ManagedListTypeResourceOcid         ManagedListTypeEnum = "RESOURCE_OCID"
	ManagedListTypeRegion               ManagedListTypeEnum = "REGION"
	ManagedListTypeCountry              ManagedListTypeEnum = "COUNTRY"
	ManagedListTypeState                ManagedListTypeEnum = "STATE"
	ManagedListTypeCity                 ManagedListTypeEnum = "CITY"
	ManagedListTypeTags                 ManagedListTypeEnum = "TAGS"
	ManagedListTypeGeneric              ManagedListTypeEnum = "GENERIC"
	ManagedListTypeFusionAppsRole       ManagedListTypeEnum = "FUSION_APPS_ROLE"
	ManagedListTypeFusionAppsPermission ManagedListTypeEnum = "FUSION_APPS_PERMISSION"
)

Set of constants representing the allowable values for ManagedListTypeEnum

func GetManagedListTypeEnumValues ¶

func GetManagedListTypeEnumValues() []ManagedListTypeEnum

GetManagedListTypeEnumValues Enumerates the set of values for ManagedListTypeEnum

func GetMappingManagedListTypeEnum ¶

func GetMappingManagedListTypeEnum(val string) (ManagedListTypeEnum, bool)

GetMappingManagedListTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ManagedListTypeSummary ¶

type ManagedListTypeSummary struct {

	// Unique identifier for a managed list type
	Id *string `mandatory:"true" json:"id"`

	// Managed list type description
	Description *string `mandatory:"false" json:"description"`

	// The current lifecycle state of the resource
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ManagedListTypeSummary A managed list type summary (ManagedListTypeSummary object) contains summary information for a managed list type (ManagedListType object).

func (ManagedListTypeSummary) String ¶

func (m ManagedListTypeSummary) String() string

func (ManagedListTypeSummary) ValidateEnumValue ¶

func (m ManagedListTypeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MonitoringServiceEnum ¶ added in v65.64.0

type MonitoringServiceEnum string

MonitoringServiceEnum Enum with underlying type: string

const (
	MonitoringServiceInstanceSecurity MonitoringServiceEnum = "INSTANCE_SECURITY"
)

Set of constants representing the allowable values for MonitoringServiceEnum

func GetMappingMonitoringServiceEnum ¶ added in v65.64.0

func GetMappingMonitoringServiceEnum(val string) (MonitoringServiceEnum, bool)

GetMappingMonitoringServiceEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMonitoringServiceEnumValues ¶ added in v65.64.0

func GetMonitoringServiceEnumValues() []MonitoringServiceEnum

GetMonitoringServiceEnumValues Enumerates the set of values for MonitoringServiceEnum

type NoDelayStartPolicy ¶ added in v65.17.0

type NoDelayStartPolicy struct {
}

NoDelayStartPolicy Continuous query start policy that starts the query immediately

func (NoDelayStartPolicy) MarshalJSON ¶ added in v65.17.0

func (m NoDelayStartPolicy) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NoDelayStartPolicy) String ¶ added in v65.17.0

func (m NoDelayStartPolicy) String() string

func (NoDelayStartPolicy) ValidateEnumValue ¶ added in v65.17.0

func (m NoDelayStartPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OperationStatusEnum ¶ added in v65.17.0

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusWaiting    OperationStatusEnum = "WAITING"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
	OperationStatusCanceling  OperationStatusEnum = "CANCELING"
	OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum ¶ added in v65.17.0

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationStatusEnumValues ¶ added in v65.17.0

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum ¶ added in v65.17.0

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

const (
	OperationTypeCreate OperationTypeEnum = "CREATE"
	OperationTypeUpdate OperationTypeEnum = "UPDATE"
	OperationTypeDelete OperationTypeEnum = "DELETE"
	OperationTypeMove   OperationTypeEnum = "MOVE"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetMappingOperationTypeEnum ¶ added in v65.17.0

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypeEnumValues ¶ added in v65.17.0

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type OperatorSummary ¶

type OperatorSummary struct {

	// Name of the operand
	Name *string `mandatory:"true" json:"name"`

	// Display name of the operand
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Data type of the operand
	Datatype *string `mandatory:"true" json:"datatype"`

	// Operand list type
	ManagedListtype *string `mandatory:"true" json:"managedListtype"`

	// Type of filter
	FilterType ConditionFilterTypeEnum `mandatory:"true" json:"filterType"`

	// List of parameters
	Operators []ConditionOperator `mandatory:"true" json:"operators"`

	// Configuration value type list for multi-list data type
	MultiListTypes []string `mandatory:"false" json:"multiListTypes"`
}

OperatorSummary Summary information on available operators.

func (OperatorSummary) String ¶

func (m OperatorSummary) String() string

func (OperatorSummary) ValidateEnumValue ¶

func (m OperatorSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OperatorTypeEnum ¶

type OperatorTypeEnum string

OperatorTypeEnum Enum with underlying type: string

const (
	OperatorTypeIn        OperatorTypeEnum = "IN"
	OperatorTypeNotIn     OperatorTypeEnum = "NOT_IN"
	OperatorTypeEquals    OperatorTypeEnum = "EQUALS"
	OperatorTypeNotEquals OperatorTypeEnum = "NOT_EQUALS"
)

Set of constants representing the allowable values for OperatorTypeEnum

func GetMappingOperatorTypeEnum ¶

func GetMappingOperatorTypeEnum(val string) (OperatorTypeEnum, bool)

GetMappingOperatorTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperatorTypeEnumValues ¶

func GetOperatorTypeEnumValues() []OperatorTypeEnum

GetOperatorTypeEnumValues Enumerates the set of values for OperatorTypeEnum

type OwnerTypeEnum ¶

type OwnerTypeEnum string

OwnerTypeEnum Enum with underlying type: string

const (
	OwnerTypeCustomer OwnerTypeEnum = "CUSTOMER"
	OwnerTypeOracle   OwnerTypeEnum = "ORACLE"
)

Set of constants representing the allowable values for OwnerTypeEnum

func GetMappingOwnerTypeEnum ¶

func GetMappingOwnerTypeEnum(val string) (OwnerTypeEnum, bool)

GetMappingOwnerTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOwnerTypeEnumValues ¶

func GetOwnerTypeEnumValues() []OwnerTypeEnum

GetOwnerTypeEnumValues Enumerates the set of values for OwnerTypeEnum

type PackageDetail ¶ added in v65.64.0

type PackageDetail struct {

	// name of the package
	Name *string `mandatory:"true" json:"name"`

	// type of the package
	PackageType *string `mandatory:"true" json:"packageType"`

	// version of the package
	Version *string `mandatory:"true" json:"version"`

	// cause of the vulnerability in the package
	Cause *string `mandatory:"false" json:"cause"`

	// location of the package
	Location *string `mandatory:"false" json:"location"`

	// remediation for vulnerability
	Remediation *string `mandatory:"false" json:"remediation"`
}

PackageDetail details of package causing vulnerabilities

func (PackageDetail) String ¶ added in v65.64.0

func (m PackageDetail) String() string

func (PackageDetail) ValidateEnumValue ¶ added in v65.64.0

func (m PackageDetail) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PolicyCollection ¶

type PolicyCollection struct {

	// List of global policy statements
	Items []PolicySummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

PolicyCollection Collection of policy statements required by Cloud Guard.

func (PolicyCollection) String ¶

func (m PolicyCollection) String() string

func (PolicyCollection) ValidateEnumValue ¶

func (m PolicyCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PolicySummary ¶

type PolicySummary struct {

	// Global policy statement
	Policy *string `mandatory:"true" json:"policy"`
}

PolicySummary A policy summary (PolicySummary object) contains a list of all current global policy statements (policy attributes).

func (PolicySummary) String ¶

func (m PolicySummary) String() string

func (PolicySummary) ValidateEnumValue ¶

func (m PolicySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PoliticalLocation ¶

type PoliticalLocation struct {

	// City of problem's location
	City *string `mandatory:"true" json:"city"`

	// State or province of problem's location
	State *string `mandatory:"true" json:"state"`

	// Country of problem's location
	Country *string `mandatory:"true" json:"country"`
}

PoliticalLocation The geographical location of a problem in terms of political units.

func (PoliticalLocation) String ¶

func (m PoliticalLocation) String() string

func (PoliticalLocation) ValidateEnumValue ¶

func (m PoliticalLocation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Problem ¶

type Problem struct {

	// Unique identifier that can't be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Unique identifier of the detector rule that triggered the problem
	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 for the problem
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// The risk score for the problem
	RiskScore *float64 `mandatory:"false" json:"riskScore"`

	// The date and time for the peak risk score that is observed for the problem. 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"`

	// Unique identifier of the resource affected by the problem
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// Display name of the affected resource
	ResourceName *string `mandatory:"false" json:"resourceName"`

	// Type of the affected 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 lifecycle state of the problem
	LifecycleState ProblemLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Additional details on the substate of the lifecycle state
	LifecycleDetail ProblemLifecycleDetailEnum `mandatory:"false" json:"lifecycleDetail,omitempty"`

	// Unique identifier of the detector rule that triggered the problem
	DetectorId DetectorEnumEnum `mandatory:"false" json:"detectorId,omitempty"`

	// Unique identifier of the target associated with 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 on the problem
	Comment *string `mandatory:"false" json:"comment"`

	// Unique identifier of the resource impacted by the problem
	ImpactedResourceId *string `mandatory:"false" json:"impactedResourceId"`

	// Display name of the impacted resource
	ImpactedResourceName *string `mandatory:"false" json:"impactedResourceName"`

	// Type of the impacted resource
	ImpactedResourceType *string `mandatory:"false" json:"impactedResourceType"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

Problem Problems are at the core of Cloud Guard’s functionality. A Problem resource 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 resource contains all the details for a single problem. This is the information for the problem that appears on the Cloud Guard Problems page.

func (Problem) String ¶

func (m Problem) String() string

func (Problem) ValidateEnumValue ¶

func (m Problem) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemAggregation ¶

type ProblemAggregation struct {

	// The key-value pairs of dimensions and their names
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// The number of occurrences with given dimensions
	Count *int `mandatory:"true" json:"count"`
}

ProblemAggregation Provides aggregated information on counts of problems by specified parameters.

func (ProblemAggregation) String ¶

func (m ProblemAggregation) String() string

func (ProblemAggregation) ValidateEnumValue ¶

func (m ProblemAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemAggregationCollection ¶

type ProblemAggregationCollection struct {

	// List of all the ProblemAggregation resources
	Items []ProblemAggregation `mandatory:"true" json:"items"`
}

ProblemAggregationCollection A collection of problem aggregation data for problem analytics.

func (ProblemAggregationCollection) String ¶

func (ProblemAggregationCollection) ValidateEnumValue ¶

func (m ProblemAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemCategoryEnumEnum ¶ added in v65.3.0

type ProblemCategoryEnumEnum string

ProblemCategoryEnumEnum Enum with underlying type: string

const (
	ProblemCategoryEnumSecurityZone ProblemCategoryEnumEnum = "SECURITY_ZONE"
)

Set of constants representing the allowable values for ProblemCategoryEnumEnum

func GetMappingProblemCategoryEnumEnum ¶ added in v65.3.0

func GetMappingProblemCategoryEnumEnum(val string) (ProblemCategoryEnumEnum, bool)

GetMappingProblemCategoryEnumEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProblemCategoryEnumEnumValues ¶ added in v65.3.0

func GetProblemCategoryEnumEnumValues() []ProblemCategoryEnumEnum

GetProblemCategoryEnumEnumValues Enumerates the set of values for ProblemCategoryEnumEnum

type ProblemCollection ¶

type ProblemCollection struct {

	// List of ProblemSummary resources
	Items []ProblemSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ProblemCollection Collection of summary information for problems.

func (ProblemCollection) String ¶

func (m ProblemCollection) String() string

func (ProblemCollection) ValidateEnumValue ¶

func (m ProblemCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemDimensionEnum ¶

type ProblemDimensionEnum string

ProblemDimensionEnum Enum with underlying type: string

const (
	ProblemDimensionResourceType  ProblemDimensionEnum = "RESOURCE_TYPE"
	ProblemDimensionRegion        ProblemDimensionEnum = "REGION"
	ProblemDimensionCompartmentId ProblemDimensionEnum = "COMPARTMENT_ID"
	ProblemDimensionRiskLevel     ProblemDimensionEnum = "RISK_LEVEL"
)

Set of constants representing the allowable values for ProblemDimensionEnum

func GetMappingProblemDimensionEnum ¶

func GetMappingProblemDimensionEnum(val string) (ProblemDimensionEnum, bool)

GetMappingProblemDimensionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProblemDimensionEnumValues ¶

func GetProblemDimensionEnumValues() []ProblemDimensionEnum

GetProblemDimensionEnumValues Enumerates the set of values for ProblemDimensionEnum

type ProblemEndpointCollection ¶

type ProblemEndpointCollection struct {

	// List of ProblemEndpointSummary resources
	Items []ProblemEndpointSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ProblemEndpointCollection Collection of problem endpoint summaries.

func (ProblemEndpointCollection) String ¶

func (m ProblemEndpointCollection) String() string

func (ProblemEndpointCollection) ValidateEnumValue ¶

func (m ProblemEndpointCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemEndpointSummary ¶

type ProblemEndpointSummary struct {

	// Unique identifier for problem endpoint.
	Id *string `mandatory:"true" json:"id"`

	// Unique identifier for sighting associated with the endpoint
	SightingId *string `mandatory:"true" json:"sightingId"`

	// Unique identifier for problem associated with the endpoint
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Unique identifier for the sighting type associated with the endpoint
	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"`

	// Type of IP address for 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 for 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 address
	Regions []string `mandatory:"false" json:"regions"`

	// List of services where activities were performed from this IP address
	Services []string `mandatory:"false" json:"services"`
}

ProblemEndpointSummary Summary information for endpoints associated with a problem (Problem object).

func (ProblemEndpointSummary) String ¶

func (m ProblemEndpointSummary) String() string

func (ProblemEndpointSummary) ValidateEnumValue ¶

func (m ProblemEndpointSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemEntityCollection ¶ added in v65.17.0

type ProblemEntityCollection struct {

	// List of entity details related to a data source
	Items []ProblemEntitySummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ProblemEntityCollection The collection of problem entities detail related to a data source.

func (ProblemEntityCollection) String ¶ added in v65.17.0

func (m ProblemEntityCollection) String() string

func (ProblemEntityCollection) ValidateEnumValue ¶ added in v65.17.0

func (m ProblemEntityCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemEntitySummary ¶ added in v65.17.0

type ProblemEntitySummary struct {

	// Data source problem entities region
	Regions []string `mandatory:"true" json:"regions"`

	// Data source problem entities first detected time
	TimeFirstDetected *common.SDKTime `mandatory:"true" json:"timeFirstDetected"`

	// Attached problem ID
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Data source problem entities last detected time
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// Log result query URL for a data source query
	ResultUrl *string `mandatory:"false" json:"resultUrl"`

	// List of entity details related to a data source
	EntityDetails []EntityDetails `mandatory:"false" json:"entityDetails"`
}

ProblemEntitySummary Summary information about problem entities for a data source for a problem.

func (ProblemEntitySummary) String ¶ added in v65.17.0

func (m ProblemEntitySummary) String() string

func (ProblemEntitySummary) ValidateEnumValue ¶ added in v65.17.0

func (m ProblemEntitySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemHistoryCollection ¶

type ProblemHistoryCollection struct {

	// List of ProblemHistorySummary resources
	Items []ProblemHistorySummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ProblemHistoryCollection Collection of problem history summary information.

func (ProblemHistoryCollection) String ¶

func (m ProblemHistoryCollection) String() string

func (ProblemHistoryCollection) ValidateEnumValue ¶

func (m ProblemHistoryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemHistorySummary ¶

type ProblemHistorySummary struct {

	// Unique identifier for the history record
	Id *string `mandatory:"true" json:"id"`

	// Problem ID with which history is associated
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Type of actor who performed the operation
	ActorType ActorTypeEnum `mandatory:"true" json:"actorType"`

	// Resource name who performed the activity
	ActorName *string `mandatory:"true" json:"actorName"`

	// Activity explanation details
	Explanation *string `mandatory:"true" json:"explanation"`

	// Additional details on the substate of the lifecycle state
	LifecycleDetail ProblemLifecycleDetailEnum `mandatory:"true" json:"lifecycleDetail"`

	// Date and time the problem was created
	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"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ProblemHistorySummary Problem history definition.

func (ProblemHistorySummary) String ¶

func (m ProblemHistorySummary) String() string

func (ProblemHistorySummary) ValidateEnumValue ¶

func (m ProblemHistorySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemLifecycleDetailEnum ¶

type ProblemLifecycleDetailEnum string

ProblemLifecycleDetailEnum Enum with underlying type: string

const (
	ProblemLifecycleDetailOpen      ProblemLifecycleDetailEnum = "OPEN"
	ProblemLifecycleDetailResolved  ProblemLifecycleDetailEnum = "RESOLVED"
	ProblemLifecycleDetailDismissed ProblemLifecycleDetailEnum = "DISMISSED"
	ProblemLifecycleDetailDeleted   ProblemLifecycleDetailEnum = "DELETED"
)

Set of constants representing the allowable values for ProblemLifecycleDetailEnum

func GetMappingProblemLifecycleDetailEnum ¶

func GetMappingProblemLifecycleDetailEnum(val string) (ProblemLifecycleDetailEnum, bool)

GetMappingProblemLifecycleDetailEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProblemLifecycleDetailEnumValues ¶

func GetProblemLifecycleDetailEnumValues() []ProblemLifecycleDetailEnum

GetProblemLifecycleDetailEnumValues Enumerates the set of values for ProblemLifecycleDetailEnum

type ProblemLifecycleStateEnum ¶

type ProblemLifecycleStateEnum string

ProblemLifecycleStateEnum Enum with underlying type: string

const (
	ProblemLifecycleStateActive   ProblemLifecycleStateEnum = "ACTIVE"
	ProblemLifecycleStateInactive ProblemLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for ProblemLifecycleStateEnum

func GetMappingProblemLifecycleStateEnum ¶

func GetMappingProblemLifecycleStateEnum(val string) (ProblemLifecycleStateEnum, bool)

GetMappingProblemLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProblemLifecycleStateEnumValues ¶

func GetProblemLifecycleStateEnumValues() []ProblemLifecycleStateEnum

GetProblemLifecycleStateEnumValues Enumerates the set of values for ProblemLifecycleStateEnum

type ProblemSummary ¶

type ProblemSummary struct {

	// Unique identifier that can't be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Unique identifier of the detector rule
	DetectorRuleId *string `mandatory:"false" json:"detectorRuleId"`

	// The risk level of the problem
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// The risk score for the problem
	RiskScore *float64 `mandatory:"false" json:"riskScore"`

	// Unique identifier of the resource that's impacted by the problem
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// Display name of the resource impacted by the problem
	ResourceName *string `mandatory:"false" json:"resourceName"`

	// Type of the resource impacted by the problem
	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 lifecycle state of the problem
	LifecycleState ProblemLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Additional details on the substate of the lifecycle state
	LifecycleDetail ProblemLifecycleDetailEnum `mandatory:"false" json:"lifecycleDetail,omitempty"`

	// Unique identifier of the detector associated with the problem
	DetectorId DetectorEnumEnum `mandatory:"false" json:"detectorId,omitempty"`

	// DEPRECATED
	Region *string `mandatory:"false" json:"region"`

	// List of regions where the problem is found
	Regions []string `mandatory:"false" json:"regions"`

	// Unique target identifier associated with the problem
	TargetId *string `mandatory:"false" json:"targetId"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ProblemSummary Summary information for a problem.

func (ProblemSummary) String ¶

func (m ProblemSummary) String() string

func (ProblemSummary) ValidateEnumValue ¶

func (m ProblemSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemTrendAggregation ¶

type ProblemTrendAggregation struct {

	// The key-value pairs of dimensions and their names
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// Start time in epoch seconds
	StartTimestamp *float32 `mandatory:"true" json:"startTimestamp"`

	// Duration
	DurationInSeconds *int `mandatory:"true" json:"durationInSeconds"`

	// The number of occurrences for the corresponding time range and dimensions.
	Count *int `mandatory:"true" json:"count"`
}

ProblemTrendAggregation Provides aggregated information on trends for counts of problems by specified parameters.

func (ProblemTrendAggregation) String ¶

func (m ProblemTrendAggregation) String() string

func (ProblemTrendAggregation) ValidateEnumValue ¶

func (m ProblemTrendAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemTrendAggregationCollection ¶

type ProblemTrendAggregationCollection struct {

	// List of problem trend aggregations (ProblemTrendAggregation resources)
	Items []ProblemTrendAggregation `mandatory:"true" json:"items"`
}

ProblemTrendAggregationCollection Collection of problem trend aggregations

func (ProblemTrendAggregationCollection) String ¶

func (ProblemTrendAggregationCollection) ValidateEnumValue ¶

func (m ProblemTrendAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PropertyTuple ¶ added in v65.64.0

type PropertyTuple struct {

	// key
	Key *string `mandatory:"true" json:"key"`

	// value
	Value *string `mandatory:"true" json:"value"`
}

PropertyTuple key and value pair for configuration values

func (PropertyTuple) String ¶ added in v65.64.0

func (m PropertyTuple) String() string

func (PropertyTuple) ValidateEnumValue ¶ added in v65.64.0

func (m PropertyTuple) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type QueryReplicationStatusEnum ¶ added in v65.17.0

type QueryReplicationStatusEnum string

QueryReplicationStatusEnum Enum with underlying type: string

const (
	QueryReplicationStatusProvisioning QueryReplicationStatusEnum = "PROVISIONING"
	QueryReplicationStatusFailed       QueryReplicationStatusEnum = "FAILED"
	QueryReplicationStatusSucceeded    QueryReplicationStatusEnum = "SUCCEEDED"
)

Set of constants representing the allowable values for QueryReplicationStatusEnum

func GetMappingQueryReplicationStatusEnum ¶ added in v65.17.0

func GetMappingQueryReplicationStatusEnum(val string) (QueryReplicationStatusEnum, bool)

GetMappingQueryReplicationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetQueryReplicationStatusEnumValues ¶ added in v65.17.0

func GetQueryReplicationStatusEnumValues() []QueryReplicationStatusEnum

GetQueryReplicationStatusEnumValues Enumerates the set of values for QueryReplicationStatusEnum

type RecommendationLifecycleDetailEnum ¶

type RecommendationLifecycleDetailEnum string

RecommendationLifecycleDetailEnum Enum with underlying type: string

const (
	RecommendationLifecycleDetailOpen      RecommendationLifecycleDetailEnum = "OPEN"
	RecommendationLifecycleDetailResolved  RecommendationLifecycleDetailEnum = "RESOLVED"
	RecommendationLifecycleDetailDismissed RecommendationLifecycleDetailEnum = "DISMISSED"
)

Set of constants representing the allowable values for RecommendationLifecycleDetailEnum

func GetMappingRecommendationLifecycleDetailEnum ¶

func GetMappingRecommendationLifecycleDetailEnum(val string) (RecommendationLifecycleDetailEnum, bool)

GetMappingRecommendationLifecycleDetailEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRecommendationLifecycleDetailEnumValues ¶

func GetRecommendationLifecycleDetailEnumValues() []RecommendationLifecycleDetailEnum

GetRecommendationLifecycleDetailEnumValues Enumerates the set of values for RecommendationLifecycleDetailEnum

type RecommendationSummary ¶

type RecommendationSummary struct {

	// Unique identifier for the recommendation
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Target ID 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 lifecycle state of the recommendation
	LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Additional details on the substate of the lifecycle state
	LifecycleDetail RecommendationLifecycleDetailEnum `mandatory:"true" json:"lifecycleDetail"`

	// Recommendation string that appears in the UI for the problem
	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 of the problem
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// The date and time the problem was first created
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the problem was last updated
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

RecommendationSummary Recommendation definition.

func (RecommendationSummary) String ¶

func (m RecommendationSummary) String() string

func (RecommendationSummary) ValidateEnumValue ¶

func (m RecommendationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RecommendationSummaryCollection ¶

type RecommendationSummaryCollection struct {

	// List of RecommendationSummary resources
	Items []RecommendationSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

RecommendationSummaryCollection Collection of RecommendationSummary resources.

func (RecommendationSummaryCollection) String ¶

func (RecommendationSummaryCollection) ValidateEnumValue ¶

func (m RecommendationSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RecommendationTypeEnum ¶

type RecommendationTypeEnum string

RecommendationTypeEnum Enum with underlying type: string

const (
	RecommendationTypeDetectorProblems RecommendationTypeEnum = "DETECTOR_PROBLEMS"
	RecommendationTypeResolvedProblems RecommendationTypeEnum = "RESOLVED_PROBLEMS"
)

Set of constants representing the allowable values for RecommendationTypeEnum

func GetMappingRecommendationTypeEnum ¶

func GetMappingRecommendationTypeEnum(val string) (RecommendationTypeEnum, bool)

GetMappingRecommendationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRecommendationTypeEnumValues ¶

func GetRecommendationTypeEnumValues() []RecommendationTypeEnum

GetRecommendationTypeEnumValues Enumerates the set of values for RecommendationTypeEnum

type RegionStatusDetail ¶ added in v65.17.0

type RegionStatusDetail struct {

	// Data source replication region
	Region *string `mandatory:"true" json:"region"`

	// Data source replication region status
	Status QueryReplicationStatusEnum `mandatory:"true" json:"status"`
}

RegionStatusDetail Status of replication of a data source query in a region

func (RegionStatusDetail) String ¶ added in v65.17.0

func (m RegionStatusDetail) String() string

func (RegionStatusDetail) ValidateEnumValue ¶ added in v65.17.0

func (m RegionStatusDetail) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveCompartmentDetails ¶ added in v65.3.0

type RemoveCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to be removed from SecurityZone.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

RemoveCompartmentDetails Detailed information on a compartment to be removed from a security zone.

func (RemoveCompartmentDetails) String ¶ added in v65.3.0

func (m RemoveCompartmentDetails) String() string

func (RemoveCompartmentDetails) ValidateEnumValue ¶ added in v65.3.0

func (m RemoveCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveCompartmentRequest ¶ added in v65.3.0

type RemoveCompartmentRequest struct {

	// The unique identifier of the security zone (`SecurityZone` resource).
	SecurityZoneId *string `mandatory:"true" contributesTo:"path" name:"securityZoneId"`

	// The compartment to remove from the security zone
	RemoveCompartmentDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RemoveCompartmentRequest wrapper for the RemoveCompartment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RemoveCompartment.go.html to see an example of how to use RemoveCompartmentRequest.

func (RemoveCompartmentRequest) BinaryRequestBody ¶ added in v65.3.0

func (request RemoveCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveCompartmentRequest) HTTPRequest ¶ added in v65.3.0

func (request RemoveCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveCompartmentRequest) RetryPolicy ¶ added in v65.3.0

func (request RemoveCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveCompartmentRequest) String ¶ added in v65.3.0

func (request RemoveCompartmentRequest) String() string

func (RemoveCompartmentRequest) ValidateEnumValue ¶ added in v65.3.0

func (request RemoveCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveCompartmentResponse ¶ added in v65.3.0

type RemoveCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityZone instance
	SecurityZone `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

RemoveCompartmentResponse wrapper for the RemoveCompartment operation

func (RemoveCompartmentResponse) HTTPResponse ¶ added in v65.3.0

func (response RemoveCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveCompartmentResponse) String ¶ added in v65.3.0

func (response RemoveCompartmentResponse) String() string

type RequestRiskScoresRequest ¶

type RequestRiskScoresRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestRiskScoresRequest wrapper for the RequestRiskScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestRiskScores.go.html to see an example of how to use RequestRiskScoresRequest.

func (RequestRiskScoresRequest) BinaryRequestBody ¶

func (request RequestRiskScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestRiskScoresRequest) HTTPRequest ¶

func (request RequestRiskScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestRiskScoresRequest) RetryPolicy ¶

func (request RequestRiskScoresRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestRiskScoresRequest) String ¶

func (request RequestRiskScoresRequest) String() string

func (RequestRiskScoresRequest) ValidateEnumValue ¶

func (request RequestRiskScoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestRiskScoresResponse ¶

type RequestRiskScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of RiskScoreAggregationCollection instances
	RiskScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestRiskScoresResponse wrapper for the RequestRiskScores operation

func (RequestRiskScoresResponse) HTTPResponse ¶

func (response RequestRiskScoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestRiskScoresResponse) String ¶

func (response RequestRiskScoresResponse) String() string

type RequestSecurityScoreSummarizedTrendRequest ¶

type RequestSecurityScoreSummarizedTrendRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days.
	TimeScoreComputedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedGreaterThanOrEqualTo"`

	// End time for a filter. If end time is not specified, end time will be set to today's current time.
	TimeScoreComputedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedLessThanOrEqualTo"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSecurityScoreSummarizedTrendRequest wrapper for the RequestSecurityScoreSummarizedTrend operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSecurityScoreSummarizedTrend.go.html to see an example of how to use RequestSecurityScoreSummarizedTrendRequest.

func (RequestSecurityScoreSummarizedTrendRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSecurityScoreSummarizedTrendRequest) HTTPRequest ¶

func (request RequestSecurityScoreSummarizedTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSecurityScoreSummarizedTrendRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSecurityScoreSummarizedTrendRequest) String ¶

func (RequestSecurityScoreSummarizedTrendRequest) ValidateEnumValue ¶

func (request RequestSecurityScoreSummarizedTrendRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSecurityScoreSummarizedTrendResponse ¶

type RequestSecurityScoreSummarizedTrendResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityScoreTrendAggregationCollection instances
	SecurityScoreTrendAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSecurityScoreSummarizedTrendResponse wrapper for the RequestSecurityScoreSummarizedTrend operation

func (RequestSecurityScoreSummarizedTrendResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSecurityScoreSummarizedTrendResponse) String ¶

type RequestSecurityScoresRequest ¶

type RequestSecurityScoresRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSecurityScoresRequest wrapper for the RequestSecurityScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSecurityScores.go.html to see an example of how to use RequestSecurityScoresRequest.

func (RequestSecurityScoresRequest) BinaryRequestBody ¶

func (request RequestSecurityScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestSecurityScoresRequest) HTTPRequest ¶

func (request RequestSecurityScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSecurityScoresRequest) RetryPolicy ¶

func (request RequestSecurityScoresRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSecurityScoresRequest) String ¶

func (request RequestSecurityScoresRequest) String() string

func (RequestSecurityScoresRequest) ValidateEnumValue ¶

func (request RequestSecurityScoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSecurityScoresResponse ¶

type RequestSecurityScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityScoreAggregationCollection instances
	SecurityScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSecurityScoresResponse wrapper for the RequestSecurityScores operation

func (RequestSecurityScoresResponse) HTTPResponse ¶

func (response RequestSecurityScoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSecurityScoresResponse) String ¶

func (response RequestSecurityScoresResponse) String() string

type RequestSummarizedActivityProblemsAccessLevelEnum ¶

type RequestSummarizedActivityProblemsAccessLevelEnum string

RequestSummarizedActivityProblemsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedActivityProblemsAccessLevelRestricted RequestSummarizedActivityProblemsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedActivityProblemsAccessLevelAccessible RequestSummarizedActivityProblemsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedActivityProblemsAccessLevelEnum

func GetMappingRequestSummarizedActivityProblemsAccessLevelEnum ¶

func GetMappingRequestSummarizedActivityProblemsAccessLevelEnum(val string) (RequestSummarizedActivityProblemsAccessLevelEnum, bool)

GetMappingRequestSummarizedActivityProblemsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedActivityProblemsAccessLevelEnumValues ¶

func GetRequestSummarizedActivityProblemsAccessLevelEnumValues() []RequestSummarizedActivityProblemsAccessLevelEnum

GetRequestSummarizedActivityProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedActivityProblemsAccessLevelEnum

type RequestSummarizedActivityProblemsRequest ¶

type RequestSummarizedActivityProblemsRequest struct {

	// The OCID 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 setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedActivityProblemsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// Default is false.
	// When set to true, the summary of activity problems that has unknown values for
	// city, state or country will be included.
	IncludeUnknownLocations *bool `mandatory:"false" contributesTo:"query" name:"includeUnknownLocations"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedActivityProblemsRequest wrapper for the RequestSummarizedActivityProblems operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedActivityProblems.go.html to see an example of how to use RequestSummarizedActivityProblemsRequest.

func (RequestSummarizedActivityProblemsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedActivityProblemsRequest) HTTPRequest ¶

func (request RequestSummarizedActivityProblemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedActivityProblemsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedActivityProblemsRequest) String ¶

func (RequestSummarizedActivityProblemsRequest) ValidateEnumValue ¶

func (request RequestSummarizedActivityProblemsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedActivityProblemsResponse ¶

type RequestSummarizedActivityProblemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ActivityProblemAggregationCollection instances
	ActivityProblemAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedActivityProblemsResponse wrapper for the RequestSummarizedActivityProblems operation

func (RequestSummarizedActivityProblemsResponse) HTTPResponse ¶

func (response RequestSummarizedActivityProblemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedActivityProblemsResponse) String ¶

type RequestSummarizedProblemsAccessLevelEnum ¶

type RequestSummarizedProblemsAccessLevelEnum string

RequestSummarizedProblemsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedProblemsAccessLevelRestricted RequestSummarizedProblemsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedProblemsAccessLevelAccessible RequestSummarizedProblemsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedProblemsAccessLevelEnum

func GetMappingRequestSummarizedProblemsAccessLevelEnum ¶

func GetMappingRequestSummarizedProblemsAccessLevelEnum(val string) (RequestSummarizedProblemsAccessLevelEnum, bool)

GetMappingRequestSummarizedProblemsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedProblemsAccessLevelEnumValues ¶

func GetRequestSummarizedProblemsAccessLevelEnumValues() []RequestSummarizedProblemsAccessLevelEnum

GetRequestSummarizedProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedProblemsAccessLevelEnum

type RequestSummarizedProblemsRequest ¶

type RequestSummarizedProblemsRequest struct {

	// The possible attributes based on which the problems can be distinguished.
	ListDimensions []ProblemDimensionEnum `contributesTo:"query" name:"listDimensions" omitEmpty:"true" collectionFormat:"multi"`

	// The OCID 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 setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedProblemsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedProblemsRequest wrapper for the RequestSummarizedProblems operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedProblems.go.html to see an example of how to use RequestSummarizedProblemsRequest.

func (RequestSummarizedProblemsRequest) BinaryRequestBody ¶

func (request RequestSummarizedProblemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedProblemsRequest) HTTPRequest ¶

func (request RequestSummarizedProblemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedProblemsRequest) RetryPolicy ¶

func (request RequestSummarizedProblemsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedProblemsRequest) String ¶

func (request RequestSummarizedProblemsRequest) String() string

func (RequestSummarizedProblemsRequest) ValidateEnumValue ¶

func (request RequestSummarizedProblemsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedProblemsResponse ¶

type RequestSummarizedProblemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemAggregationCollection instances
	ProblemAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedProblemsResponse wrapper for the RequestSummarizedProblems operation

func (RequestSummarizedProblemsResponse) HTTPResponse ¶

func (response RequestSummarizedProblemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedProblemsResponse) String ¶

func (response RequestSummarizedProblemsResponse) String() string

type RequestSummarizedResponderExecutionsAccessLevelEnum ¶

type RequestSummarizedResponderExecutionsAccessLevelEnum string

RequestSummarizedResponderExecutionsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedResponderExecutionsAccessLevelRestricted RequestSummarizedResponderExecutionsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedResponderExecutionsAccessLevelAccessible RequestSummarizedResponderExecutionsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedResponderExecutionsAccessLevelEnum

func GetMappingRequestSummarizedResponderExecutionsAccessLevelEnum ¶

func GetMappingRequestSummarizedResponderExecutionsAccessLevelEnum(val string) (RequestSummarizedResponderExecutionsAccessLevelEnum, bool)

GetMappingRequestSummarizedResponderExecutionsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedResponderExecutionsAccessLevelEnumValues ¶

func GetRequestSummarizedResponderExecutionsAccessLevelEnumValues() []RequestSummarizedResponderExecutionsAccessLevelEnum

GetRequestSummarizedResponderExecutionsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedResponderExecutionsAccessLevelEnum

type RequestSummarizedResponderExecutionsRequest ¶

type RequestSummarizedResponderExecutionsRequest struct {

	// The possible attributes based on which the responder executions can be distinguished.
	ResponderExecutionsDimensions []ResponderDimensionEnum `contributesTo:"query" name:"responderExecutionsDimensions" omitEmpty:"true" collectionFormat:"multi"`

	// The OCID 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 responder 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 setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedResponderExecutionsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedResponderExecutionsRequest wrapper for the RequestSummarizedResponderExecutions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedResponderExecutions.go.html to see an example of how to use RequestSummarizedResponderExecutionsRequest.

func (RequestSummarizedResponderExecutionsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedResponderExecutionsRequest) HTTPRequest ¶

func (request RequestSummarizedResponderExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedResponderExecutionsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedResponderExecutionsRequest) String ¶

func (RequestSummarizedResponderExecutionsRequest) ValidateEnumValue ¶

func (request RequestSummarizedResponderExecutionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedResponderExecutionsResponse ¶

type RequestSummarizedResponderExecutionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderExecutionAggregationCollection instances
	ResponderExecutionAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedResponderExecutionsResponse wrapper for the RequestSummarizedResponderExecutions operation

func (RequestSummarizedResponderExecutionsResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedResponderExecutionsResponse) String ¶

type RequestSummarizedRiskScoresRequest ¶

type RequestSummarizedRiskScoresRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedRiskScoresRequest wrapper for the RequestSummarizedRiskScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedRiskScores.go.html to see an example of how to use RequestSummarizedRiskScoresRequest.

func (RequestSummarizedRiskScoresRequest) BinaryRequestBody ¶

func (request RequestSummarizedRiskScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedRiskScoresRequest) HTTPRequest ¶

func (request RequestSummarizedRiskScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedRiskScoresRequest) RetryPolicy ¶

func (request RequestSummarizedRiskScoresRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedRiskScoresRequest) String ¶

func (request RequestSummarizedRiskScoresRequest) String() string

func (RequestSummarizedRiskScoresRequest) ValidateEnumValue ¶

func (request RequestSummarizedRiskScoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedRiskScoresResponse ¶

type RequestSummarizedRiskScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of RiskScoreAggregationCollection instances
	RiskScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedRiskScoresResponse wrapper for the RequestSummarizedRiskScores operation

func (RequestSummarizedRiskScoresResponse) HTTPResponse ¶

func (response RequestSummarizedRiskScoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedRiskScoresResponse) String ¶

func (response RequestSummarizedRiskScoresResponse) String() string

type RequestSummarizedSecurityScoresRequest ¶

type RequestSummarizedSecurityScoresRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedSecurityScoresRequest wrapper for the RequestSummarizedSecurityScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedSecurityScores.go.html to see an example of how to use RequestSummarizedSecurityScoresRequest.

func (RequestSummarizedSecurityScoresRequest) BinaryRequestBody ¶

func (request RequestSummarizedSecurityScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedSecurityScoresRequest) HTTPRequest ¶

func (request RequestSummarizedSecurityScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedSecurityScoresRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedSecurityScoresRequest) String ¶

func (RequestSummarizedSecurityScoresRequest) ValidateEnumValue ¶

func (request RequestSummarizedSecurityScoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedSecurityScoresResponse ¶

type RequestSummarizedSecurityScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityScoreAggregationCollection instances
	SecurityScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedSecurityScoresResponse wrapper for the RequestSummarizedSecurityScores operation

func (RequestSummarizedSecurityScoresResponse) HTTPResponse ¶

func (response RequestSummarizedSecurityScoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedSecurityScoresResponse) String ¶

type RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum ¶

type RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum string

RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelRestricted RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum = "RESTRICTED"
	RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelAccessible RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum

func GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum ¶

func GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum(val string) (RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum, bool)

GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumValues ¶

func GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumValues() []RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum

GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum

type RequestSummarizedTopTrendResourceProfileRiskScoresRequest ¶

type RequestSummarizedTopTrendResourceProfileRiskScoresRequest struct {

	// The OCID 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 setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// The field to sort trendlines for resource profiles. Only one sort order may be provided. If no value is specified riskScore is default.
	SortBy RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Number of resource profile risk score trend-lines to be displayed. Default value is 10.
	Count *int `mandatory:"false" contributesTo:"query" name:"count"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedTopTrendResourceProfileRiskScoresRequest wrapper for the RequestSummarizedTopTrendResourceProfileRiskScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTopTrendResourceProfileRiskScores.go.html to see an example of how to use RequestSummarizedTopTrendResourceProfileRiskScoresRequest.

func (RequestSummarizedTopTrendResourceProfileRiskScoresRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedTopTrendResourceProfileRiskScoresRequest) HTTPRequest ¶

func (request RequestSummarizedTopTrendResourceProfileRiskScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTopTrendResourceProfileRiskScoresRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTopTrendResourceProfileRiskScoresRequest) String ¶

func (RequestSummarizedTopTrendResourceProfileRiskScoresRequest) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedTopTrendResourceProfileRiskScoresResponse ¶

type RequestSummarizedTopTrendResourceProfileRiskScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceProfileRiskScoreAggregationSummaryCollection instances
	ResourceProfileRiskScoreAggregationSummaryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedTopTrendResourceProfileRiskScoresResponse wrapper for the RequestSummarizedTopTrendResourceProfileRiskScores operation

func (RequestSummarizedTopTrendResourceProfileRiskScoresResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTopTrendResourceProfileRiskScoresResponse) String ¶

type RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum ¶

type RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum string

RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum Enum with underlying type: string

const (
	RequestSummarizedTopTrendResourceProfileRiskScoresSortByRiskscore         RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum = "riskScore"
	RequestSummarizedTopTrendResourceProfileRiskScoresSortByRiskscoregrowth   RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum = "riskScoreGrowth"
	RequestSummarizedTopTrendResourceProfileRiskScoresSortByTimefirstdetected RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum = "timeFirstDetected"
	RequestSummarizedTopTrendResourceProfileRiskScoresSortByTimelastdetected  RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum = "timeLastDetected"
)

Set of constants representing the allowable values for RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum

func GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum ¶

func GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum(val string) (RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum, bool)

GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumValues ¶

func GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumValues() []RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum

GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumValues Enumerates the set of values for RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum

type RequestSummarizedTrendProblemsAccessLevelEnum ¶

type RequestSummarizedTrendProblemsAccessLevelEnum string

RequestSummarizedTrendProblemsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedTrendProblemsAccessLevelRestricted RequestSummarizedTrendProblemsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedTrendProblemsAccessLevelAccessible RequestSummarizedTrendProblemsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedTrendProblemsAccessLevelEnum

func GetMappingRequestSummarizedTrendProblemsAccessLevelEnum ¶

func GetMappingRequestSummarizedTrendProblemsAccessLevelEnum(val string) (RequestSummarizedTrendProblemsAccessLevelEnum, bool)

GetMappingRequestSummarizedTrendProblemsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedTrendProblemsAccessLevelEnumValues ¶

func GetRequestSummarizedTrendProblemsAccessLevelEnumValues() []RequestSummarizedTrendProblemsAccessLevelEnum

GetRequestSummarizedTrendProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendProblemsAccessLevelEnum

type RequestSummarizedTrendProblemsRequest ¶

type RequestSummarizedTrendProblemsRequest struct {

	// The OCID 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 setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedTrendProblemsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedTrendProblemsRequest wrapper for the RequestSummarizedTrendProblems operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendProblems.go.html to see an example of how to use RequestSummarizedTrendProblemsRequest.

func (RequestSummarizedTrendProblemsRequest) BinaryRequestBody ¶

func (request RequestSummarizedTrendProblemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedTrendProblemsRequest) HTTPRequest ¶

func (request RequestSummarizedTrendProblemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTrendProblemsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTrendProblemsRequest) String ¶

func (RequestSummarizedTrendProblemsRequest) ValidateEnumValue ¶

func (request RequestSummarizedTrendProblemsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedTrendProblemsResponse ¶

type RequestSummarizedTrendProblemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemTrendAggregationCollection instances
	ProblemTrendAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedTrendProblemsResponse wrapper for the RequestSummarizedTrendProblems operation

func (RequestSummarizedTrendProblemsResponse) HTTPResponse ¶

func (response RequestSummarizedTrendProblemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTrendProblemsResponse) String ¶

type RequestSummarizedTrendResourceRiskScoresAccessLevelEnum ¶

type RequestSummarizedTrendResourceRiskScoresAccessLevelEnum string

RequestSummarizedTrendResourceRiskScoresAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedTrendResourceRiskScoresAccessLevelRestricted RequestSummarizedTrendResourceRiskScoresAccessLevelEnum = "RESTRICTED"
	RequestSummarizedTrendResourceRiskScoresAccessLevelAccessible RequestSummarizedTrendResourceRiskScoresAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedTrendResourceRiskScoresAccessLevelEnum

func GetMappingRequestSummarizedTrendResourceRiskScoresAccessLevelEnum ¶

func GetMappingRequestSummarizedTrendResourceRiskScoresAccessLevelEnum(val string) (RequestSummarizedTrendResourceRiskScoresAccessLevelEnum, bool)

GetMappingRequestSummarizedTrendResourceRiskScoresAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumValues ¶

func GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumValues() []RequestSummarizedTrendResourceRiskScoresAccessLevelEnum

GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendResourceRiskScoresAccessLevelEnum

type RequestSummarizedTrendResourceRiskScoresDetails ¶

type RequestSummarizedTrendResourceRiskScoresDetails struct {

	// The filter type
	Filter ResourceRiskScoreDimensionEnum `mandatory:"true" json:"filter"`

	// ID to be passed in to filter the risk scores
	FilterId *string `mandatory:"true" json:"filterId"`
}

RequestSummarizedTrendResourceRiskScoresDetails Details for requesting summarized trend risk scores.

func (RequestSummarizedTrendResourceRiskScoresDetails) String ¶

func (RequestSummarizedTrendResourceRiskScoresDetails) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedTrendResourceRiskScoresRequest ¶

type RequestSummarizedTrendResourceRiskScoresRequest struct {

	// The filter to fetch risk score trend
	RequestSummarizedTrendResourceRiskScoresDetails `contributesTo:"body"`

	// The OCID 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 setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedTrendResourceRiskScoresAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedTrendResourceRiskScoresRequest wrapper for the RequestSummarizedTrendResourceRiskScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendResourceRiskScores.go.html to see an example of how to use RequestSummarizedTrendResourceRiskScoresRequest.

func (RequestSummarizedTrendResourceRiskScoresRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedTrendResourceRiskScoresRequest) HTTPRequest ¶

func (request RequestSummarizedTrendResourceRiskScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTrendResourceRiskScoresRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTrendResourceRiskScoresRequest) String ¶

func (RequestSummarizedTrendResourceRiskScoresRequest) ValidateEnumValue ¶

func (request RequestSummarizedTrendResourceRiskScoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedTrendResourceRiskScoresResponse ¶

type RequestSummarizedTrendResourceRiskScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceRiskScoreAggregationCollection instances
	ResourceRiskScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedTrendResourceRiskScoresResponse wrapper for the RequestSummarizedTrendResourceRiskScores operation

func (RequestSummarizedTrendResourceRiskScoresResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTrendResourceRiskScoresResponse) String ¶

type RequestSummarizedTrendResponderExecutionsAccessLevelEnum ¶

type RequestSummarizedTrendResponderExecutionsAccessLevelEnum string

RequestSummarizedTrendResponderExecutionsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedTrendResponderExecutionsAccessLevelRestricted RequestSummarizedTrendResponderExecutionsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedTrendResponderExecutionsAccessLevelAccessible RequestSummarizedTrendResponderExecutionsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedTrendResponderExecutionsAccessLevelEnum

func GetMappingRequestSummarizedTrendResponderExecutionsAccessLevelEnum ¶

func GetMappingRequestSummarizedTrendResponderExecutionsAccessLevelEnum(val string) (RequestSummarizedTrendResponderExecutionsAccessLevelEnum, bool)

GetMappingRequestSummarizedTrendResponderExecutionsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues ¶

func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues() []RequestSummarizedTrendResponderExecutionsAccessLevelEnum

GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendResponderExecutionsAccessLevelEnum

type RequestSummarizedTrendResponderExecutionsRequest ¶

type RequestSummarizedTrendResponderExecutionsRequest struct {

	// The OCID 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 setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedTrendResponderExecutionsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedTrendResponderExecutionsRequest wrapper for the RequestSummarizedTrendResponderExecutions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendResponderExecutions.go.html to see an example of how to use RequestSummarizedTrendResponderExecutionsRequest.

func (RequestSummarizedTrendResponderExecutionsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedTrendResponderExecutionsRequest) HTTPRequest ¶

func (request RequestSummarizedTrendResponderExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTrendResponderExecutionsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTrendResponderExecutionsRequest) String ¶

func (RequestSummarizedTrendResponderExecutionsRequest) ValidateEnumValue ¶

func (request RequestSummarizedTrendResponderExecutionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedTrendResponderExecutionsResponse ¶

type RequestSummarizedTrendResponderExecutionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderExecutionTrendAggregationCollection instances
	ResponderExecutionTrendAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedTrendResponderExecutionsResponse wrapper for the RequestSummarizedTrendResponderExecutions operation

func (RequestSummarizedTrendResponderExecutionsResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTrendResponderExecutionsResponse) String ¶

type RequestSummarizedTrendSecurityScoresRequest ¶

type RequestSummarizedTrendSecurityScoresRequest struct {

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days.
	TimeScoreComputedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedGreaterThanOrEqualTo"`

	// End time for a filter. If end time is not specified, end time will be set to today's current time.
	TimeScoreComputedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedLessThanOrEqualTo"`

	// The maximum number of items to return
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedTrendSecurityScoresRequest wrapper for the RequestSummarizedTrendSecurityScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendSecurityScores.go.html to see an example of how to use RequestSummarizedTrendSecurityScoresRequest.

func (RequestSummarizedTrendSecurityScoresRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedTrendSecurityScoresRequest) HTTPRequest ¶

func (request RequestSummarizedTrendSecurityScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTrendSecurityScoresRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTrendSecurityScoresRequest) String ¶

func (RequestSummarizedTrendSecurityScoresRequest) ValidateEnumValue ¶

func (request RequestSummarizedTrendSecurityScoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedTrendSecurityScoresResponse ¶

type RequestSummarizedTrendSecurityScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityScoreTrendAggregationCollection instances
	SecurityScoreTrendAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedTrendSecurityScoresResponse wrapper for the RequestSummarizedTrendSecurityScores operation

func (RequestSummarizedTrendSecurityScoresResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTrendSecurityScoresResponse) String ¶

type Resource ¶ added in v65.64.0

type Resource struct {

	// Ocid for CG resource
	Id *string `mandatory:"true" json:"id"`

	// resource type of the CG resource
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// CompartmentId of CG Resource
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// TargetId of CG Resource
	TargetId *string `mandatory:"true" json:"targetId"`

	// region of CG Resource
	Region *string `mandatory:"true" json:"region"`

	// Name for the CG resource
	ResourceName *string `mandatory:"false" json:"resourceName"`

	// Target name for the CG Resource
	TargetName *string `mandatory:"false" json:"targetName"`

	// The Risk Level
	RiskLevel CveRiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// First monitored time
	TimeFirstMonitored *common.SDKTime `mandatory:"false" json:"timeFirstMonitored"`

	// Last monitored time
	TimeLastMonitored *common.SDKTime `mandatory:"false" json:"timeLastMonitored"`

	// Count of existing problems for a resource
	ProblemCount *int `mandatory:"false" json:"problemCount"`

	// Count of existing number of vulnerabilities in the resource
	VulnerabilityCount *int `mandatory:"false" json:"vulnerabilityCount"`

	// Number of open ports in a resource
	OpenPortsCount *int `mandatory:"false" json:"openPortsCount"`

	AdditionalDetails *ResourceAdditionalDetails `mandatory:"false" json:"additionalDetails"`

	// 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"`
}

Resource Details of cloud guard resource

func (Resource) String ¶ added in v65.64.0

func (m Resource) String() string

func (Resource) ValidateEnumValue ¶ added in v65.64.0

func (m Resource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceAdditionalDetails ¶ added in v65.64.0

type ResourceAdditionalDetails struct {

	// Type of OS present in the resource
	OsInfo *string `mandatory:"false" json:"osInfo"`
}

ResourceAdditionalDetails Optional details of a resource

func (ResourceAdditionalDetails) String ¶ added in v65.64.0

func (m ResourceAdditionalDetails) String() string

func (ResourceAdditionalDetails) ValidateEnumValue ¶ added in v65.64.0

func (m ResourceAdditionalDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceCollection ¶ added in v65.64.0

type ResourceCollection struct {

	// List of CloudGuardResourceSummary
	Items []ResourceSummary `mandatory:"true" json:"items"`
}

ResourceCollection List of CloudGuardResourceSummary.

func (ResourceCollection) String ¶ added in v65.64.0

func (m ResourceCollection) String() string

func (ResourceCollection) ValidateEnumValue ¶ added in v65.64.0

func (m ResourceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceLock ¶ added in v65.64.0

type ResourceLock struct {

	// Type of the lock.
	Type ResourceLockTypeEnum `mandatory:"true" json:"type"`

	// The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
	RelatedResourceId *string `mandatory:"false" json:"relatedResourceId"`

	// A message added by the creator of the lock. This is typically used to give an
	// indication of why the resource is locked.
	Message *string `mandatory:"false" json:"message"`

	// When the lock was created, in the format defined by RFC 3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

ResourceLock Resource locks are used to prevent certain APIs from being called for the resource. A full lock prevents both updating the resource and deleting the resource. A delete lock prevents deleting the resource.

func (ResourceLock) String ¶ added in v65.64.0

func (m ResourceLock) String() string

func (ResourceLock) ValidateEnumValue ¶ added in v65.64.0

func (m ResourceLock) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceLockTypeEnum ¶ added in v65.64.0

type ResourceLockTypeEnum string

ResourceLockTypeEnum Enum with underlying type: string

const (
	ResourceLockTypeFull   ResourceLockTypeEnum = "FULL"
	ResourceLockTypeDelete ResourceLockTypeEnum = "DELETE"
)

Set of constants representing the allowable values for ResourceLockTypeEnum

func GetMappingResourceLockTypeEnum ¶ added in v65.64.0

func GetMappingResourceLockTypeEnum(val string) (ResourceLockTypeEnum, bool)

GetMappingResourceLockTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResourceLockTypeEnumValues ¶ added in v65.64.0

func GetResourceLockTypeEnumValues() []ResourceLockTypeEnum

GetResourceLockTypeEnumValues Enumerates the set of values for ResourceLockTypeEnum

type ResourcePortCollection ¶ added in v65.64.0

type ResourcePortCollection struct {

	// List of CloudGuardResourcePortSummary
	Items []ResourcePortSummary `mandatory:"true" json:"items"`
}

ResourcePortCollection List of CloudGuardResourcePortSummary.

func (ResourcePortCollection) String ¶ added in v65.64.0

func (m ResourcePortCollection) String() string

func (ResourcePortCollection) ValidateEnumValue ¶ added in v65.64.0

func (m ResourcePortCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourcePortSummary ¶ added in v65.64.0

type ResourcePortSummary struct {

	// The open port number
	PortNumber *string `mandatory:"true" json:"portNumber"`

	// Process running on the open port
	Process *string `mandatory:"true" json:"process"`

	// Type of port
	Type *string `mandatory:"false" json:"type"`

	// 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"`
}

ResourcePortSummary Summary of open ports in the resourceView

func (ResourcePortSummary) String ¶ added in v65.64.0

func (m ResourcePortSummary) String() string

func (ResourcePortSummary) ValidateEnumValue ¶ added in v65.64.0

func (m ResourcePortSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfile ¶

type ResourceProfile struct {

	// Unique identifier for the resource profile
	Id *string `mandatory:"true" json:"id"`

	// Unique identifier for the resource associated with the resource profile
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// Display name for the resource profile
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Resource type for the resource profile
	Type *string `mandatory:"true" json:"type"`

	// Compartment OCID for the resource profile
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Risk score for the resource profile
	RiskScore *float64 `mandatory:"true" json:"riskScore"`

	// Time the activities were first detected. Format defined by RFC3339.
	TimeFirstDetected *common.SDKTime `mandatory:"true" json:"timeFirstDetected"`

	// Time the activities were last detected. Format defined by RFC3339.
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// List of tactic summaries associated with the resource profile
	Tactics []TacticSummary `mandatory:"true" json:"tactics"`

	// Number of sightings associated with the resource profile
	SightingsCount *int `mandatory:"false" json:"sightingsCount"`

	// List of problems IDs associated with the resource profile
	ProblemIds []string `mandatory:"false" json:"problemIds"`

	// Unique target ID for the 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 the peak risk score. Format defined by RFC3339.
	TimePeakScore *common.SDKTime `mandatory:"false" json:"timePeakScore"`

	// Time the activities were first performed. Format defined by RFC3339.
	TimeFirstOccurred *common.SDKTime `mandatory:"false" json:"timeFirstOccurred"`

	// Time the activities were last performed. Format defined by RFC3339.
	TimeLastOccurred *common.SDKTime `mandatory:"false" json:"timeLastOccurred"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ResourceProfile Resource profile details.

func (ResourceProfile) String ¶

func (m ResourceProfile) String() string

func (ResourceProfile) ValidateEnumValue ¶

func (m ResourceProfile) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileCollection ¶

type ResourceProfileCollection struct {

	// List of ResourceProfileSummary resources
	Items []ResourceProfileSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ResourceProfileCollection Collection of resource profile summaries.

func (ResourceProfileCollection) String ¶

func (m ResourceProfileCollection) String() string

func (ResourceProfileCollection) ValidateEnumValue ¶

func (m ResourceProfileCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileEndpointCollection ¶

type ResourceProfileEndpointCollection struct {

	// List of ResourceProfileEndpointSummary resources
	Items []ResourceProfileEndpointSummary `mandatory:"true" json:"items"`
}

ResourceProfileEndpointCollection Collection of resource profile endpoint summaries.

func (ResourceProfileEndpointCollection) String ¶

func (ResourceProfileEndpointCollection) ValidateEnumValue ¶

func (m ResourceProfileEndpointCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileEndpointSummary ¶

type ResourceProfileEndpointSummary struct {

	// Unique identifier for sighting endpoints
	Id *string `mandatory:"true" json:"id"`

	// Resource profile ID associated with the impacted resource
	ResourceProfileId *string `mandatory:"true" json:"resourceProfileId"`

	// Type of sighting for sighting endpoints
	SightingType *string `mandatory:"true" json:"sightingType"`

	// Display name of the sighting type
	SightingTypeDisplayName *string `mandatory:"true" json:"sightingTypeDisplayName"`

	// IP address for sighting
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// Type of IP address for sighting
	IpAddressType *string `mandatory:"true" json:"ipAddressType"`

	// Time the activities were last detected.
	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 of sighting
	Country *string `mandatory:"false" json:"country"`

	// Latitude of sighting
	Latitude *float64 `mandatory:"false" json:"latitude"`

	// Longitude of sighting
	Longitude *float64 `mandatory:"false" json:"longitude"`

	// ASN number of sighting
	AsnNumber *string `mandatory:"false" json:"asnNumber"`

	// Regions where activities were performed from this IP address
	Regions []string `mandatory:"false" json:"regions"`

	// List of services where activities were performed from this IP address
	Services []string `mandatory:"false" json:"services"`

	// Time the activities were first detected.
	TimeFirstDetected *common.SDKTime `mandatory:"false" json:"timeFirstDetected"`

	// Time the activities were first performed.
	TimeFirstOccurred *common.SDKTime `mandatory:"false" json:"timeFirstOccurred"`

	// Time the activities were last performed.
	TimeLastOccurred *common.SDKTime `mandatory:"false" json:"timeLastOccurred"`
}

ResourceProfileEndpointSummary Summary information for resource profile endpoints.

func (ResourceProfileEndpointSummary) String ¶

func (ResourceProfileEndpointSummary) ValidateEnumValue ¶

func (m ResourceProfileEndpointSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileImpactedResourceCollection ¶

type ResourceProfileImpactedResourceCollection struct {

	// List of ResourceProfileImpactedResourceSummary resources
	Items []ResourceProfileImpactedResourceSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ResourceProfileImpactedResourceCollection Collection of resource profile impacted resource summaries

func (ResourceProfileImpactedResourceCollection) String ¶

func (ResourceProfileImpactedResourceCollection) ValidateEnumValue ¶

func (m ResourceProfileImpactedResourceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileImpactedResourceSummary ¶

type ResourceProfileImpactedResourceSummary struct {

	// Unique identifier for impacted resource
	Id *string `mandatory:"true" json:"id"`

	// Resource profile ID associated with the impacted 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"`

	// Impacted resource name
	ResourceName *string `mandatory:"true" json:"resourceName"`

	// Impacted resource type
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// Sighting type for impacted resource
	SightingType *string `mandatory:"true" json:"sightingType"`

	// Display 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 the resource profile.
	TimeIdentified *common.SDKTime `mandatory:"true" json:"timeIdentified"`

	// Problem ID associated with the impacted resource
	ProblemId *string `mandatory:"false" json:"problemId"`

	// Time the activities were first detected.
	TimeFirstDetected *common.SDKTime `mandatory:"false" json:"timeFirstDetected"`

	// Time the activities were last detected. Same as timeIdentified.
	TimeLastDetected *common.SDKTime `mandatory:"false" json:"timeLastDetected"`

	// Time the activities were first performed.
	TimeFirstOccurred *common.SDKTime `mandatory:"false" json:"timeFirstOccurred"`

	// Time the activities were last performed.
	TimeLastOccurred *common.SDKTime `mandatory:"false" json:"timeLastOccurred"`
}

ResourceProfileImpactedResourceSummary Summary information on impacted resource in resource profile.

func (ResourceProfileImpactedResourceSummary) String ¶

func (ResourceProfileImpactedResourceSummary) ValidateEnumValue ¶

func (m ResourceProfileImpactedResourceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileRiskScoreAggregationSummary ¶

type ResourceProfileRiskScoreAggregationSummary struct {

	// OCID for the resource profile
	ResourceProfileId *string `mandatory:"true" json:"resourceProfileId"`

	// Display name for the resource profile
	ResourceProfileDisplayName *string `mandatory:"true" json:"resourceProfileDisplayName"`

	// List of ResourceRiskScoreAggregation resources
	Items []ResourceRiskScoreAggregation `mandatory:"true" json:"items"`

	// Risk score value that triggers a problem
	RiskThreshold *int `mandatory:"false" json:"riskThreshold"`
}

ResourceProfileRiskScoreAggregationSummary Summary of resource profile risk score aggregations.

func (ResourceProfileRiskScoreAggregationSummary) String ¶

func (ResourceProfileRiskScoreAggregationSummary) ValidateEnumValue ¶

func (m ResourceProfileRiskScoreAggregationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileRiskScoreAggregationSummaryCollection ¶

type ResourceProfileRiskScoreAggregationSummaryCollection struct {

	// List of ResourceProfileRiskScoreAggregationSummary resources
	Items []ResourceProfileRiskScoreAggregationSummary `mandatory:"true" json:"items"`
}

ResourceProfileRiskScoreAggregationSummaryCollection Collection of resource profile risk score aggregation summaries.

func (ResourceProfileRiskScoreAggregationSummaryCollection) String ¶

func (ResourceProfileRiskScoreAggregationSummaryCollection) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileSummary ¶

type ResourceProfileSummary struct {

	// Unique identifier for the resource profile
	Id *string `mandatory:"true" json:"id"`

	// Unique identifier for the resource associated with the resource profile
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// Display name for the resource profile
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Resource type for the resource profile
	Type *string `mandatory:"true" json:"type"`

	// Risk score for the resource profile
	RiskScore *float64 `mandatory:"true" json:"riskScore"`

	// List of tactic summaries associated with the resource profile
	Tactics []TacticSummary `mandatory:"true" json:"tactics"`

	// Time the activities were first detected. Format defined by RFC3339.
	TimeFirstDetected *common.SDKTime `mandatory:"true" json:"timeFirstDetected"`

	// Time the activities were last detected. Format defined by RFC3339.
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// Number of sightings associated with the resource profile
	SightingsCount *int `mandatory:"false" json:"sightingsCount"`

	// Time the activities were first performed. Format defined by RFC3339.
	TimeFirstOccurred *common.SDKTime `mandatory:"false" json:"timeFirstOccurred"`

	// Time the activities were last performed. Format defined by RFC3339.
	TimeLastOccurred *common.SDKTime `mandatory:"false" json:"timeLastOccurred"`

	// Number of problems associated with this resource profile
	ProblemsCount *int `mandatory:"false" json:"problemsCount"`
}

ResourceProfileSummary Summary information for a resource profile.

func (ResourceProfileSummary) String ¶

func (m ResourceProfileSummary) String() string

func (ResourceProfileSummary) ValidateEnumValue ¶

func (m ResourceProfileSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceRiskScoreAggregation ¶

type ResourceRiskScoreAggregation struct {

	// List of tactics used for evaluating the risk score
	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"`

	// The risk score
	RiskScore *float64 `mandatory:"true" json:"riskScore"`

	// The risk level
	RiskLevel RiskLevelEnum `mandatory:"true" json:"riskLevel"`
}

ResourceRiskScoreAggregation Risk score of a resource.

func (ResourceRiskScoreAggregation) String ¶

func (ResourceRiskScoreAggregation) ValidateEnumValue ¶

func (m ResourceRiskScoreAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceRiskScoreAggregationCollection ¶

type ResourceRiskScoreAggregationCollection struct {

	// Type of filter
	FilterType *string `mandatory:"true" json:"filterType"`

	// ID for filter that to be used to filter risk scores
	FilterId *string `mandatory:"true" json:"filterId"`

	// List of ResourceRiskScoreAggregation resources
	Items []ResourceRiskScoreAggregation `mandatory:"true" json:"items"`

	// Risk score value that triggers a problem
	RiskThreshold *int `mandatory:"false" json:"riskThreshold"`
}

ResourceRiskScoreAggregationCollection Collection of risk score aggregations.

func (ResourceRiskScoreAggregationCollection) String ¶

func (ResourceRiskScoreAggregationCollection) ValidateEnumValue ¶

func (m ResourceRiskScoreAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceRiskScoreDimensionEnum ¶

type ResourceRiskScoreDimensionEnum string

ResourceRiskScoreDimensionEnum Enum with underlying type: string

const (
	ResourceRiskScoreDimensionProblemId         ResourceRiskScoreDimensionEnum = "PROBLEM_ID"
	ResourceRiskScoreDimensionResourceProfileId ResourceRiskScoreDimensionEnum = "RESOURCE_PROFILE_ID"
)

Set of constants representing the allowable values for ResourceRiskScoreDimensionEnum

func GetMappingResourceRiskScoreDimensionEnum ¶

func GetMappingResourceRiskScoreDimensionEnum(val string) (ResourceRiskScoreDimensionEnum, bool)

GetMappingResourceRiskScoreDimensionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResourceRiskScoreDimensionEnumValues ¶

func GetResourceRiskScoreDimensionEnumValues() []ResourceRiskScoreDimensionEnum

GetResourceRiskScoreDimensionEnumValues Enumerates the set of values for ResourceRiskScoreDimensionEnum

type ResourceSummary ¶ added in v65.64.0

type ResourceSummary struct {

	// Ocid for CG resource
	Id *string `mandatory:"true" json:"id"`

	// CompartmentId of CG Resource
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// name of the CG resource
	ResourceName *string `mandatory:"false" json:"resourceName"`

	// resource type of the CG resource
	ResourceType *string `mandatory:"false" json:"resourceType"`

	// TargetId of CG Resource
	TargetId *string `mandatory:"false" json:"targetId"`

	// Target name for the CG Resource
	TargetName *string `mandatory:"false" json:"targetName"`

	// region of CG Resource
	Region *string `mandatory:"false" json:"region"`

	// The Risk Level
	RiskLevel CveRiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// Count of existing problems for a resource
	ProblemCount *int `mandatory:"false" json:"problemCount"`

	// Count of existing number of vulnerabilities in the resource
	VulnerabilityCount *int `mandatory:"false" json:"vulnerabilityCount"`

	// Number of open ports in a resource
	OpenPortsCount *int `mandatory:"false" json:"openPortsCount"`

	// 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"`
}

ResourceSummary Summary of CG Resource

func (ResourceSummary) String ¶ added in v65.64.0

func (m ResourceSummary) String() string

func (ResourceSummary) ValidateEnumValue ¶ added in v65.64.0

func (m ResourceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceTypeCollection ¶

type ResourceTypeCollection struct {

	// List of ResourceTypeSummary resources
	Items []ResourceTypeSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ResourceTypeCollection Collection of supported resource types.

func (ResourceTypeCollection) String ¶

func (m ResourceTypeCollection) String() string

func (ResourceTypeCollection) ValidateEnumValue ¶

func (m ResourceTypeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceTypeSummary ¶

type ResourceTypeSummary struct {

	// Name of the resource
	Name *string `mandatory:"true" json:"name"`

	// Display name of the resource
	DisplayName *string `mandatory:"true" json:"displayName"`

	// List of rules
	Rules []RuleSummary `mandatory:"false" json:"rules"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ResourceTypeSummary A summary of detailed information on a resource type.

func (ResourceTypeSummary) String ¶

func (m ResourceTypeSummary) String() string

func (ResourceTypeSummary) ValidateEnumValue ¶

func (m ResourceTypeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceVulnerability ¶ added in v65.64.0

type ResourceVulnerability struct {

	// The cve id of the vulnerability
	Id *string `mandatory:"true" json:"id"`

	// The description of the vulnerability
	Description *string `mandatory:"true" json:"description"`

	// The Risk Level
	RiskLevel CveRiskLevelEnum `mandatory:"true" json:"riskLevel"`

	// URL of the CVE
	Url *string `mandatory:"false" json:"url"`

	// First detected time
	TimeFirstDetected *common.SDKTime `mandatory:"false" json:"timeFirstDetected"`

	// First detected time
	TimeLastDetected *common.SDKTime `mandatory:"false" json:"timeLastDetected"`

	// Time the vulnerability was published
	TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`

	// Time the vulnerability was last modified
	TimeLastModified *common.SDKTime `mandatory:"false" json:"timeLastModified"`

	// cvssScore of CVE
	CvssScore *string `mandatory:"false" json:"cvssScore"`

	// list for packages causing vulnerability
	PackageDetails []PackageDetail `mandatory:"false" json:"packageDetails"`

	// 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"`
}

ResourceVulnerability CG vulnerability object

func (ResourceVulnerability) String ¶ added in v65.64.0

func (m ResourceVulnerability) String() string

func (ResourceVulnerability) ValidateEnumValue ¶ added in v65.64.0

func (m ResourceVulnerability) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceVulnerabilityCollection ¶ added in v65.64.0

type ResourceVulnerabilityCollection struct {

	// List of CloudGuardResourceVulnerabilitySummary
	Items []ResourceVulnerabilitySummary `mandatory:"true" json:"items"`
}

ResourceVulnerabilityCollection List of CloudGuardResourceVulnerabilitySummary.

func (ResourceVulnerabilityCollection) String ¶ added in v65.64.0

func (ResourceVulnerabilityCollection) ValidateEnumValue ¶ added in v65.64.0

func (m ResourceVulnerabilityCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceVulnerabilitySummary ¶ added in v65.64.0

type ResourceVulnerabilitySummary struct {

	// The cve id of the vulnerability
	Id *string `mandatory:"true" json:"id"`

	// The description of the vulnerability
	Description *string `mandatory:"true" json:"description"`

	// The Risk Level
	RiskLevel CveRiskLevelEnum `mandatory:"true" json:"riskLevel"`

	// 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"`
}

ResourceVulnerabilitySummary Summary of CG vulnerability in the resourceView

func (ResourceVulnerabilitySummary) String ¶ added in v65.64.0

func (ResourceVulnerabilitySummary) ValidateEnumValue ¶ added in v65.64.0

func (m ResourceVulnerabilitySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderActivityCollection ¶

type ResponderActivityCollection struct {

	// List of ResponderActivitySummary resources
	Items []ResponderActivitySummary `mandatory:"true" json:"items"`
}

ResponderActivityCollection Provides a summary of responder activities and their corresponding count values.

func (ResponderActivityCollection) String ¶

func (ResponderActivityCollection) ValidateEnumValue ¶

func (m ResponderActivityCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderActivitySummary ¶

type ResponderActivitySummary struct {

	// Unique ID for responder activity
	Id *string `mandatory:"true" json:"id"`

	// Unique ID of problem associated with responder activity
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Unique ID of the responder rule associated with 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 type
	ResponderActivityType ResponderActivityTypeEnum `mandatory:"true" json:"responderActivityType"`

	// Responder execution status
	ResponderExecutionStatus ResponderExecutionStatesEnum `mandatory:"true" json:"responderExecutionStatus"`

	// Responder activity starting time
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Additional message related to this operation
	Message *string `mandatory:"true" json:"message"`
}

ResponderActivitySummary Responder activity summary definition.

func (ResponderActivitySummary) String ¶

func (m ResponderActivitySummary) String() string

func (ResponderActivitySummary) ValidateEnumValue ¶

func (m ResponderActivitySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderActivityTypeEnum ¶

type ResponderActivityTypeEnum string

ResponderActivityTypeEnum Enum with underlying type: string

const (
	ResponderActivityTypeStarted   ResponderActivityTypeEnum = "STARTED"
	ResponderActivityTypeCompleted ResponderActivityTypeEnum = "COMPLETED"
)

Set of constants representing the allowable values for ResponderActivityTypeEnum

func GetMappingResponderActivityTypeEnum ¶

func GetMappingResponderActivityTypeEnum(val string) (ResponderActivityTypeEnum, bool)

GetMappingResponderActivityTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderActivityTypeEnumValues ¶

func GetResponderActivityTypeEnumValues() []ResponderActivityTypeEnum

GetResponderActivityTypeEnumValues Enumerates the set of values for ResponderActivityTypeEnum

type ResponderConfiguration ¶

type ResponderConfiguration struct {

	// Unique identifier of the configuration
	ConfigKey *string `mandatory:"true" json:"configKey"`

	// Configuration name
	Name *string `mandatory:"true" json:"name"`

	// Configuration value
	Value *string `mandatory:"true" json:"value"`
}

ResponderConfiguration Details for a configuration to be applied to a responder.

func (ResponderConfiguration) String ¶

func (m ResponderConfiguration) String() string

func (ResponderConfiguration) ValidateEnumValue ¶

func (m ResponderConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderDimensionEnum ¶

type ResponderDimensionEnum string

ResponderDimensionEnum Enum with underlying type: string

const (
	ResponderDimensionResponderRuleType        ResponderDimensionEnum = "RESPONDER_RULE_TYPE"
	ResponderDimensionResponderExecutionStatus ResponderDimensionEnum = "RESPONDER_EXECUTION_STATUS"
)

Set of constants representing the allowable values for ResponderDimensionEnum

func GetMappingResponderDimensionEnum ¶

func GetMappingResponderDimensionEnum(val string) (ResponderDimensionEnum, bool)

GetMappingResponderDimensionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderDimensionEnumValues ¶

func GetResponderDimensionEnumValues() []ResponderDimensionEnum

GetResponderDimensionEnumValues Enumerates the set of values for ResponderDimensionEnum

type ResponderExecution ¶

type ResponderExecution struct {

	// The unique identifier of the responder execution
	Id *string `mandatory:"true" json:"id"`

	// Responder rule ID for the responder execution
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// Responder rule type for the responder execution
	ResponderRuleType ResponderTypeEnum `mandatory:"true" json:"responderRuleType"`

	// Responder 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"`

	// Target ID of the problem for the responder execution
	TargetId *string `mandatory:"true" json:"targetId"`

	// Compartment OCID 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.
	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"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ResponderExecution Attributes for a responder execution (ResponderExecution resource).

func (ResponderExecution) String ¶

func (m ResponderExecution) String() string

func (ResponderExecution) ValidateEnumValue ¶

func (m ResponderExecution) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderExecutionAggregation ¶

type ResponderExecutionAggregation struct {

	// The key-value pairs of dimensions and their names. The key corresponds to the Analytic Dimension(s) chosen, and the value corresponds to the value of the dimension from the data. E.g. if the Analytic Dimension chosen is "RISK_LEVEL", then the value will be like "CRITICAL". If the Analytic Dimensions chosen are "RISK_LEVEL" and "RESOURCE_TYPE", then the map will have two key-value pairs of form {"RISK_LEVEL" : "CRITICAL, "RESOURCE_TYPE" : "LOAD_BALANCER"}
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// The number of occurrences with given dimensions
	Count *int `mandatory:"true" json:"count"`
}

ResponderExecutionAggregation Provides the dimensions and their corresponding count value.

func (ResponderExecutionAggregation) String ¶

func (ResponderExecutionAggregation) ValidateEnumValue ¶

func (m ResponderExecutionAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderExecutionAggregationCollection ¶

type ResponderExecutionAggregationCollection struct {

	// List of all the ResponderExecutionAggregation resources
	Items []ResponderExecutionAggregation `mandatory:"true" json:"items"`
}

ResponderExecutionAggregationCollection Collection of ResponderExecutionAggregation resources.

func (ResponderExecutionAggregationCollection) String ¶

func (ResponderExecutionAggregationCollection) ValidateEnumValue ¶

func (m ResponderExecutionAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderExecutionCollection ¶

type ResponderExecutionCollection struct {

	// List of ResponderExecutionSummary resources
	Items []ResponderExecutionSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ResponderExecutionCollection Collection of aggregated responder execution information, including their corresponding count values.

func (ResponderExecutionCollection) String ¶

func (ResponderExecutionCollection) ValidateEnumValue ¶

func (m ResponderExecutionCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderExecutionModesEnum ¶

type ResponderExecutionModesEnum string

ResponderExecutionModesEnum Enum with underlying type: string

const (
	ResponderExecutionModesManual    ResponderExecutionModesEnum = "MANUAL"
	ResponderExecutionModesAutomated ResponderExecutionModesEnum = "AUTOMATED"
	ResponderExecutionModesAll       ResponderExecutionModesEnum = "ALL"
)

Set of constants representing the allowable values for ResponderExecutionModesEnum

func GetMappingResponderExecutionModesEnum ¶

func GetMappingResponderExecutionModesEnum(val string) (ResponderExecutionModesEnum, bool)

GetMappingResponderExecutionModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderExecutionModesEnumValues ¶

func GetResponderExecutionModesEnumValues() []ResponderExecutionModesEnum

GetResponderExecutionModesEnumValues Enumerates the set of values for ResponderExecutionModesEnum

type ResponderExecutionStatesEnum ¶

type ResponderExecutionStatesEnum string

ResponderExecutionStatesEnum Enum with underlying type: string

const (
	ResponderExecutionStatesStarted              ResponderExecutionStatesEnum = "STARTED"
	ResponderExecutionStatesAwaitingConfirmation ResponderExecutionStatesEnum = "AWAITING_CONFIRMATION"
	ResponderExecutionStatesAwaitingInput        ResponderExecutionStatesEnum = "AWAITING_INPUT"
	ResponderExecutionStatesSucceeded            ResponderExecutionStatesEnum = "SUCCEEDED"
	ResponderExecutionStatesFailed               ResponderExecutionStatesEnum = "FAILED"
	ResponderExecutionStatesSkipped              ResponderExecutionStatesEnum = "SKIPPED"
	ResponderExecutionStatesAll                  ResponderExecutionStatesEnum = "ALL"
)

Set of constants representing the allowable values for ResponderExecutionStatesEnum

func GetMappingResponderExecutionStatesEnum ¶

func GetMappingResponderExecutionStatesEnum(val string) (ResponderExecutionStatesEnum, bool)

GetMappingResponderExecutionStatesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderExecutionStatesEnumValues ¶

func GetResponderExecutionStatesEnumValues() []ResponderExecutionStatesEnum

GetResponderExecutionStatesEnumValues Enumerates the set of values for ResponderExecutionStatesEnum

type ResponderExecutionStatusEnum ¶

type ResponderExecutionStatusEnum string

ResponderExecutionStatusEnum Enum with underlying type: string

const (
	ResponderExecutionStatusStarted              ResponderExecutionStatusEnum = "STARTED"
	ResponderExecutionStatusAwaitingConfirmation ResponderExecutionStatusEnum = "AWAITING_CONFIRMATION"
	ResponderExecutionStatusSucceeded            ResponderExecutionStatusEnum = "SUCCEEDED"
	ResponderExecutionStatusFailed               ResponderExecutionStatusEnum = "FAILED"
	ResponderExecutionStatusSkipped              ResponderExecutionStatusEnum = "SKIPPED"
)

Set of constants representing the allowable values for ResponderExecutionStatusEnum

func GetMappingResponderExecutionStatusEnum ¶

func GetMappingResponderExecutionStatusEnum(val string) (ResponderExecutionStatusEnum, bool)

GetMappingResponderExecutionStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderExecutionStatusEnumValues ¶

func GetResponderExecutionStatusEnumValues() []ResponderExecutionStatusEnum

GetResponderExecutionStatusEnumValues Enumerates the set of values for ResponderExecutionStatusEnum

type ResponderExecutionSummary ¶

type ResponderExecutionSummary struct {

	// The unique identifier of the responder execution
	Id *string `mandatory:"true" json:"id"`

	// Responder rule ID for the responder execution
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// Rule type for the responder execution
	ResponderRuleType ResponderTypeEnum `mandatory:"true" json:"responderRuleType"`

	// Rule name for the responder execution
	ResponderRuleName *string `mandatory:"true" json:"responderRuleName"`

	// Problem ID associated with the responder execution
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Problem name associated with the responder execution
	ProblemName *string `mandatory:"true" json:"problemName"`

	// Region where the problem is found
	Region *string `mandatory:"true" json:"region"`

	// Target ID of the problem for the responder execution
	TargetId *string `mandatory:"true" json:"targetId"`

	// Compartment OCID 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.
	ResourceName *string `mandatory:"true" json:"resourceName"`

	// The date and time the responder execution was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Current execution status of the responder
	ResponderExecutionStatus ResponderExecutionStatesEnum `mandatory:"true" json:"responderExecutionStatus"`

	// Possible type of responder execution modes
	ResponderExecutionMode ResponderExecutionModesEnum `mandatory:"true" json:"responderExecutionMode"`

	// The date and time the responder execution was updated. Format defined by RFC3339.
	TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"`

	// Message about the responder execution.
	Message *string `mandatory:"false" json:"message"`

	ResponderRuleExecutionDetails *ResponderRuleExecutionDetails `mandatory:"false" json:"responderRuleExecutionDetails"`
}

ResponderExecutionSummary A summary of detailed information on responder execution.

func (ResponderExecutionSummary) String ¶

func (m ResponderExecutionSummary) String() string

func (ResponderExecutionSummary) ValidateEnumValue ¶

func (m ResponderExecutionSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderExecutionTrendAggregation ¶

type ResponderExecutionTrendAggregation struct {

	// The key-value pairs of dimensions and their names
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// Start time in epoch seconds
	StartTimestamp *float32 `mandatory:"true" json:"startTimestamp"`

	// Duration
	DurationInSeconds *int `mandatory:"true" json:"durationInSeconds"`

	// The number of remediations for a given time
	Count *int `mandatory:"true" json:"count"`
}

ResponderExecutionTrendAggregation Provides the timestamps and their corresponding number of remediations.

func (ResponderExecutionTrendAggregation) String ¶

func (ResponderExecutionTrendAggregation) ValidateEnumValue ¶

func (m ResponderExecutionTrendAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderExecutionTrendAggregationCollection ¶

type ResponderExecutionTrendAggregationCollection struct {

	// List of all the ResponderExecutionTrendAggregation resources.
	Items []ResponderExecutionTrendAggregation `mandatory:"true" json:"items"`
}

ResponderExecutionTrendAggregationCollection Collection of ResponderExecutionTrendAggregation resources.

func (ResponderExecutionTrendAggregationCollection) String ¶

func (ResponderExecutionTrendAggregationCollection) ValidateEnumValue ¶

func (m ResponderExecutionTrendAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderModeTypesEnum ¶

type ResponderModeTypesEnum string

ResponderModeTypesEnum Enum with underlying type: string

const (
	ResponderModeTypesAutoaction ResponderModeTypesEnum = "AUTOACTION"
	ResponderModeTypesUseraction ResponderModeTypesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderModeTypesEnum

func GetMappingResponderModeTypesEnum ¶

func GetMappingResponderModeTypesEnum(val string) (ResponderModeTypesEnum, bool)

GetMappingResponderModeTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderModeTypesEnumValues ¶

func GetResponderModeTypesEnumValues() []ResponderModeTypesEnum

GetResponderModeTypesEnumValues Enumerates the set of values for ResponderModeTypesEnum

type ResponderRecipe ¶

type ResponderRecipe struct {

	// Unique identifier for the responder recip
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Responder recipe display name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Responder recipe description
	Description *string `mandatory:"false" json:"description"`

	// Owner of responder recipe
	Owner OwnerTypeEnum `mandatory:"false" json:"owner,omitempty"`

	// List of responder rules associated with the recipe
	ResponderRules []ResponderRecipeResponderRule `mandatory:"false" json:"responderRules"`

	// List of currently enabled responder rules for the responder type, for recipe after applying defaults
	EffectiveResponderRules []ResponderRecipeResponderRule `mandatory:"false" json:"effectiveResponderRules"`

	// The unique identifier 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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the example
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ResponderRecipe A ResponderRecipe resource contains a specific instance of one of the supported detector types (for example, activity, configuration, or threat). A ResponderRecipe resource: * Is effectively a copy of a Responder resource in which users can make very limited changes if it’s Oracle-managed, and more changes if it’s user-managed. * Can also be created by cloning an existing ResponderRecipe resource, either user-managed or Oracle-managed. * Is visible on Cloud Guard’s Responder Recipes page. * Is located in a specific OCI compartment. * Can be modified by users, programmatically or through the UI. * Changes that can be made here apply globally, to resources in all OCI compartments mapped to a target that attaches the responder recipe, but are overridden by any changes made in the corresponding TargetResponderRecipe resource (effectively created when the responder recipe is attached to the target).

func (ResponderRecipe) String ¶

func (m ResponderRecipe) String() string

func (ResponderRecipe) ValidateEnumValue ¶

func (m ResponderRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRecipeCollection ¶

type ResponderRecipeCollection struct {

	// List of ResponderRecipeSummary resources
	Items []ResponderRecipeSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ResponderRecipeCollection Collection of responder recipe summary information.

func (ResponderRecipeCollection) String ¶

func (m ResponderRecipeCollection) String() string

func (ResponderRecipeCollection) ValidateEnumValue ¶

func (m ResponderRecipeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRecipeResponderRule ¶

type ResponderRecipeResponderRule struct {

	// Unique identifier for the responder rule
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// Compartment OCID
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Responder rule display name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Responder rule description
	Description *string `mandatory:"false" json:"description"`

	// Type of responder
	Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"`

	// List of policies
	Policies []string `mandatory:"false" json:"policies"`

	// Supported execution modes for the responder rule
	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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the responder 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"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ResponderRecipeResponderRule A ResponderRecipeRule resource contains a specific instance of a single responder rule. A ResponderRecipeRule resource: * Is effectively a copy of a ResponderRule resource in which users can make certain changes if it’s Oracle-managed, and other changes if it’s user-managed. * Can also be created by cloning an existing ResponderRecipe resource, either user-managed or Oracle-managed; cloning the ResponderRecipe resource also clones its associated ResponderRule resources as ResponderRecipeRule resources. * Is visible on the Cloud Guard Responder Recipes, Responder Details page. * Is effectively located in a specific OCI compartment, through the ResponderRecipe resource to which it belongs. * Can be modified by users, programmatically or through the UI. * Changes that can be made here apply globally, to all resources in OCI compartments mapped to a target that attaches the associated responder recipe (in a TargetResponderRecipe resource), but are overridden by changes made in the corresponding TargetResponderRecipe resource (which is effectively a copy of the ResponderRecipe resource). type: object

func (ResponderRecipeResponderRule) String ¶

func (ResponderRecipeResponderRule) ValidateEnumValue ¶

func (m ResponderRecipeResponderRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRecipeResponderRuleCollection ¶

type ResponderRecipeResponderRuleCollection struct {

	// List of ResponderRecipeResponderRuleSummary resources
	Items []ResponderRecipeResponderRuleSummary `mandatory:"true" json:"items"`
}

ResponderRecipeResponderRuleCollection The collection of responder rule summaries for a responder recipe.

func (ResponderRecipeResponderRuleCollection) String ¶

func (ResponderRecipeResponderRuleCollection) ValidateEnumValue ¶

func (m ResponderRecipeResponderRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRecipeResponderRuleSummary ¶

type ResponderRecipeResponderRuleSummary struct {

	// Unique identifier for the responder rule
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Responder rule display name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Responder rule description
	Description *string `mandatory:"false" json:"description"`

	// Type of responder
	Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"`

	// List of policies
	Policies []string `mandatory:"false" json:"policies"`

	// Supported execution modes for the responder rule
	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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the responder 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"`
}

ResponderRecipeResponderRuleSummary Summary information for a responder rule

func (ResponderRecipeResponderRuleSummary) String ¶

func (ResponderRecipeResponderRuleSummary) ValidateEnumValue ¶

func (m ResponderRecipeResponderRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRecipeResponderRuleSummarySupportedModesEnum ¶

type ResponderRecipeResponderRuleSummarySupportedModesEnum string

ResponderRecipeResponderRuleSummarySupportedModesEnum Enum with underlying type: string

const (
	ResponderRecipeResponderRuleSummarySupportedModesAutoaction ResponderRecipeResponderRuleSummarySupportedModesEnum = "AUTOACTION"
	ResponderRecipeResponderRuleSummarySupportedModesUseraction ResponderRecipeResponderRuleSummarySupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderRecipeResponderRuleSummarySupportedModesEnum

func GetMappingResponderRecipeResponderRuleSummarySupportedModesEnum ¶

func GetMappingResponderRecipeResponderRuleSummarySupportedModesEnum(val string) (ResponderRecipeResponderRuleSummarySupportedModesEnum, bool)

GetMappingResponderRecipeResponderRuleSummarySupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderRecipeResponderRuleSummarySupportedModesEnumValues ¶

func GetResponderRecipeResponderRuleSummarySupportedModesEnumValues() []ResponderRecipeResponderRuleSummarySupportedModesEnum

GetResponderRecipeResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for ResponderRecipeResponderRuleSummarySupportedModesEnum

type ResponderRecipeResponderRuleSupportedModesEnum ¶

type ResponderRecipeResponderRuleSupportedModesEnum string

ResponderRecipeResponderRuleSupportedModesEnum Enum with underlying type: string

const (
	ResponderRecipeResponderRuleSupportedModesAutoaction ResponderRecipeResponderRuleSupportedModesEnum = "AUTOACTION"
	ResponderRecipeResponderRuleSupportedModesUseraction ResponderRecipeResponderRuleSupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderRecipeResponderRuleSupportedModesEnum

func GetMappingResponderRecipeResponderRuleSupportedModesEnum ¶

func GetMappingResponderRecipeResponderRuleSupportedModesEnum(val string) (ResponderRecipeResponderRuleSupportedModesEnum, bool)

GetMappingResponderRecipeResponderRuleSupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderRecipeResponderRuleSupportedModesEnumValues ¶

func GetResponderRecipeResponderRuleSupportedModesEnumValues() []ResponderRecipeResponderRuleSupportedModesEnum

GetResponderRecipeResponderRuleSupportedModesEnumValues Enumerates the set of values for ResponderRecipeResponderRuleSupportedModesEnum

type ResponderRecipeSummary ¶

type ResponderRecipeSummary struct {

	// Unique identifier for the responder recipe
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Responder recipe display name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Responder recipe description
	Description *string `mandatory:"false" json:"description"`

	// Responder recipe description
	Owner OwnerTypeEnum `mandatory:"false" json:"owner,omitempty"`

	// List of responder rules associated with the responder recipe
	ResponderRules []ResponderRecipeResponderRule `mandatory:"false" json:"responderRules"`

	// Unique identifier 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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the example
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ResponderRecipeSummary Summary information for a responder recipe.

func (ResponderRecipeSummary) String ¶

func (m ResponderRecipeSummary) String() string

func (ResponderRecipeSummary) ValidateEnumValue ¶

func (m ResponderRecipeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRule ¶

type ResponderRule struct {

	// Unique identifier for the responder rule
	Id *string `mandatory:"true" json:"id"`

	// Responder rule display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Responder rule description
	Description *string `mandatory:"true" json:"description"`

	// Type of responder
	Type ResponderTypeEnum `mandatory:"true" json:"type"`

	// List of policies
	Policies []string `mandatory:"false" json:"policies"`

	// Supported execution modes for the responder rule
	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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the responder 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"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ResponderRule A ResponderRule resource contains the default settings for a single responder rule that Cloud Guard provides. A ResponderRule resource: * Is used as the original source for a rule in an Oracle-managed responder of the specified type. * Is not directly visible in the Cloud Guard UI. * Can’t be modified by users, programmatically or through the UI. * May be modified from time to time by Cloud Guard.

func (ResponderRule) String ¶

func (m ResponderRule) String() string

func (ResponderRule) ValidateEnumValue ¶

func (m ResponderRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRuleCollection ¶

type ResponderRuleCollection struct {

	// List of ResponderRuleSummary resources
	Items []ResponderRuleSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

ResponderRuleCollection Collection of responder rule summaries.

func (ResponderRuleCollection) String ¶

func (m ResponderRuleCollection) String() string

func (ResponderRuleCollection) ValidateEnumValue ¶

func (m ResponderRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRuleDetails ¶

type ResponderRuleDetails struct {

	// Enabled state for the responder rule
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	Condition Condition `mandatory:"false" json:"condition"`

	// List of responder rule configurations
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`

	// Execution mode for the responder rule
	Mode ResponderModeTypesEnum `mandatory:"false" json:"mode,omitempty"`
}

ResponderRuleDetails Detailed information for a responder rule

func (ResponderRuleDetails) String ¶

func (m ResponderRuleDetails) String() string

func (*ResponderRuleDetails) UnmarshalJSON ¶

func (m *ResponderRuleDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ResponderRuleDetails) ValidateEnumValue ¶

func (m ResponderRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRuleExecutionDetails ¶

type ResponderRuleExecutionDetails struct {
	Condition Condition `mandatory:"false" json:"condition"`

	// List of responder rule configurations
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`
}

ResponderRuleExecutionDetails Details of responder rule execution for a problem.

func (ResponderRuleExecutionDetails) String ¶

func (*ResponderRuleExecutionDetails) UnmarshalJSON ¶

func (m *ResponderRuleExecutionDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ResponderRuleExecutionDetails) ValidateEnumValue ¶

func (m ResponderRuleExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRuleSummary ¶

type ResponderRuleSummary struct {

	// Unique identifier for responder rule
	Id *string `mandatory:"true" json:"id"`

	// Display name for responder rule
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Responder rule description
	Description *string `mandatory:"true" json:"description"`

	// Type of responder
	Type ResponderTypeEnum `mandatory:"true" json:"type"`

	// List of policies
	Policies []string `mandatory:"false" json:"policies"`

	// Supported execution modes for responder rule
	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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the responder 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"`
}

ResponderRuleSummary Summary information for a responder rule.

func (ResponderRuleSummary) String ¶

func (m ResponderRuleSummary) String() string

func (ResponderRuleSummary) ValidateEnumValue ¶

func (m ResponderRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRuleSummarySupportedModesEnum ¶

type ResponderRuleSummarySupportedModesEnum string

ResponderRuleSummarySupportedModesEnum Enum with underlying type: string

const (
	ResponderRuleSummarySupportedModesAutoaction ResponderRuleSummarySupportedModesEnum = "AUTOACTION"
	ResponderRuleSummarySupportedModesUseraction ResponderRuleSummarySupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderRuleSummarySupportedModesEnum

func GetMappingResponderRuleSummarySupportedModesEnum ¶

func GetMappingResponderRuleSummarySupportedModesEnum(val string) (ResponderRuleSummarySupportedModesEnum, bool)

GetMappingResponderRuleSummarySupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderRuleSummarySupportedModesEnumValues ¶

func GetResponderRuleSummarySupportedModesEnumValues() []ResponderRuleSummarySupportedModesEnum

GetResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for ResponderRuleSummarySupportedModesEnum

type ResponderRuleSupportedModesEnum ¶

type ResponderRuleSupportedModesEnum string

ResponderRuleSupportedModesEnum Enum with underlying type: string

const (
	ResponderRuleSupportedModesAutoaction ResponderRuleSupportedModesEnum = "AUTOACTION"
	ResponderRuleSupportedModesUseraction ResponderRuleSupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderRuleSupportedModesEnum

func GetMappingResponderRuleSupportedModesEnum ¶

func GetMappingResponderRuleSupportedModesEnum(val string) (ResponderRuleSupportedModesEnum, bool)

GetMappingResponderRuleSupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderRuleSupportedModesEnumValues ¶

func GetResponderRuleSupportedModesEnumValues() []ResponderRuleSupportedModesEnum

GetResponderRuleSupportedModesEnumValues Enumerates the set of values for ResponderRuleSupportedModesEnum

type ResponderTypeEnum ¶

type ResponderTypeEnum string

ResponderTypeEnum Enum with underlying type: string

const (
	ResponderTypeRemediation  ResponderTypeEnum = "REMEDIATION"
	ResponderTypeNotification ResponderTypeEnum = "NOTIFICATION"
)

Set of constants representing the allowable values for ResponderTypeEnum

func GetMappingResponderTypeEnum ¶

func GetMappingResponderTypeEnum(val string) (ResponderTypeEnum, bool)

GetMappingResponderTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderTypeEnumValues ¶

func GetResponderTypeEnumValues() []ResponderTypeEnum

GetResponderTypeEnumValues Enumerates the set of values for ResponderTypeEnum

type RiskLevelEnum ¶

type RiskLevelEnum string

RiskLevelEnum Enum with underlying type: string

const (
	RiskLevelCritical RiskLevelEnum = "CRITICAL"
	RiskLevelHigh     RiskLevelEnum = "HIGH"
	RiskLevelMedium   RiskLevelEnum = "MEDIUM"
	RiskLevelLow      RiskLevelEnum = "LOW"
	RiskLevelMinor    RiskLevelEnum = "MINOR"
)

Set of constants representing the allowable values for RiskLevelEnum

func GetMappingRiskLevelEnum ¶

func GetMappingRiskLevelEnum(val string) (RiskLevelEnum, bool)

GetMappingRiskLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRiskLevelEnumValues ¶

func GetRiskLevelEnumValues() []RiskLevelEnum

GetRiskLevelEnumValues Enumerates the set of values for RiskLevelEnum

type RiskScoreAggregation ¶

type RiskScoreAggregation struct {

	// The key-value pairs of dimensions and their names
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// The risk score with given dimensions
	RiskScore *int `mandatory:"true" json:"riskScore"`
}

RiskScoreAggregation Provides the dimensions and their corresponding risk score.

func (RiskScoreAggregation) String ¶

func (m RiskScoreAggregation) String() string

func (RiskScoreAggregation) ValidateEnumValue ¶

func (m RiskScoreAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RiskScoreAggregationCollection ¶

type RiskScoreAggregationCollection struct {

	// The list of all the RiskScoreAggregation resources.
	Items []RiskScoreAggregation `mandatory:"true" json:"items"`
}

RiskScoreAggregationCollection Collection of RiskScoreAggregation resources.

func (RiskScoreAggregationCollection) String ¶

func (RiskScoreAggregationCollection) ValidateEnumValue ¶

func (m RiskScoreAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RuleSummary ¶

type RuleSummary struct {

	// Unique identifier of the rule
	Id *string `mandatory:"true" json:"id"`

	// Description of the rule
	Description *string `mandatory:"true" json:"description"`

	// List of parameters applicable for the rule
	Parameters []OperatorSummary `mandatory:"true" json:"parameters"`
}

RuleSummary Summary information for a rule.

func (RuleSummary) String ¶

func (m RuleSummary) String() string

func (RuleSummary) ValidateEnumValue ¶

func (m RuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SavedQuery ¶ added in v65.64.0

type SavedQuery struct {

	// OCID for the saved query
	Id *string `mandatory:"true" json:"id"`

	// Display name of the saved query
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment OCID of the saved query
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The saved query expression
	Query *string `mandatory:"true" json:"query"`

	// Description of the saved query
	Description *string `mandatory:"false" json:"description"`

	// The current lifecycle state of the resource
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The date and time the saved query was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the saved query was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// 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"`
}

SavedQuery Details of a saved query.

func (SavedQuery) String ¶ added in v65.64.0

func (m SavedQuery) String() string

func (SavedQuery) ValidateEnumValue ¶ added in v65.64.0

func (m SavedQuery) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SavedQueryCollection ¶ added in v65.64.0

type SavedQueryCollection struct {

	// List of SavedQuery resources
	Items []SavedQuerySummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

SavedQueryCollection Collection of SavedQuery resources.

func (SavedQueryCollection) String ¶ added in v65.64.0

func (m SavedQueryCollection) String() string

func (SavedQueryCollection) ValidateEnumValue ¶ added in v65.64.0

func (m SavedQueryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SavedQuerySummary ¶ added in v65.64.0

type SavedQuerySummary struct {

	// OCID for saved query
	Id *string `mandatory:"true" json:"id"`

	// Display name of the saved query
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment OCID of the saved query
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Description of the saved query
	Description *string `mandatory:"false" json:"description"`

	// The saved query expression
	Query *string `mandatory:"false" json:"query"`

	// The date and time the saved query was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the saved query was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the resource
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`

	// 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"`
}

SavedQuerySummary Summary information for a SavedQuerySavedQuery resource.

func (SavedQuerySummary) String ¶ added in v65.64.0

func (m SavedQuerySummary) String() string

func (SavedQuerySummary) ValidateEnumValue ¶ added in v65.64.0

func (m SavedQuerySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduledQueryDataSourceObjDetails ¶ added in v65.64.0

type ScheduledQueryDataSourceObjDetails struct {

	// The continuous query expression that is run periodically.
	Query *string `mandatory:"false" json:"query"`

	// Description text for the query
	Description *string `mandatory:"false" json:"description"`

	// Interval in minutes which query is run periodically.
	IntervalInSeconds *int `mandatory:"false" json:"intervalInSeconds"`

	// Target information in which scheduled query will be run
	ScheduledQueryScopeDetails []ScheduledQueryScopeDetail `mandatory:"false" json:"scheduledQueryScopeDetails"`
}

ScheduledQueryDataSourceObjDetails The information about new schedule Query of type DataSource.

func (ScheduledQueryDataSourceObjDetails) MarshalJSON ¶ added in v65.64.0

func (m ScheduledQueryDataSourceObjDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ScheduledQueryDataSourceObjDetails) String ¶ added in v65.64.0

func (ScheduledQueryDataSourceObjDetails) ValidateEnumValue ¶ added in v65.64.0

func (m ScheduledQueryDataSourceObjDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduledQueryDataSourceSummaryObjDetails ¶ added in v65.64.0

type ScheduledQueryDataSourceSummaryObjDetails struct {

	// Description for the scheduled query
	Description *string `mandatory:"false" json:"description"`

	// Target information in which scheduled query will be run
	ScheduledQueryScopeDetails []ScheduledQueryScopeDetail `mandatory:"false" json:"scheduledQueryScopeDetails"`

	// Interval in minutes in which the query is run periodically.
	IntervalInSeconds *int `mandatory:"false" json:"intervalInSeconds"`

	// DataSource query metadata replication region and status.
	RegionStatusDetail []RegionStatusDetail `mandatory:"false" json:"regionStatusDetail"`
}

ScheduledQueryDataSourceSummaryObjDetails The information about new Scheduled Query of type DataSourceSummary.

func (ScheduledQueryDataSourceSummaryObjDetails) MarshalJSON ¶ added in v65.64.0

func (m ScheduledQueryDataSourceSummaryObjDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ScheduledQueryDataSourceSummaryObjDetails) String ¶ added in v65.64.0

func (ScheduledQueryDataSourceSummaryObjDetails) ValidateEnumValue ¶ added in v65.64.0

func (m ScheduledQueryDataSourceSummaryObjDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduledQueryScopeDetail ¶ added in v65.64.0

type ScheduledQueryScopeDetail struct {

	// region on which scheduled query needs to be run
	Region *string `mandatory:"false" json:"region"`

	// List of OCIDs on scheduled query needs to run
	ResourceIds []string `mandatory:"false" json:"resourceIds"`

	// Type of resource
	ResourceType *string `mandatory:"false" json:"resourceType"`
}

ScheduledQueryScopeDetail Details about the scheduled resources for which query needs to be run.

func (ScheduledQueryScopeDetail) String ¶ added in v65.64.0

func (m ScheduledQueryScopeDetail) String() string

func (ScheduledQueryScopeDetail) ValidateEnumValue ¶ added in v65.64.0

func (m ScheduledQueryScopeDetail) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityPolicy ¶ added in v65.3.0

type SecurityPolicy struct {

	// Unique identifier that can’t be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// The OCID 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 display name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The security policy's description
	Description *string `mandatory:"false" json:"description"`

	// The category of the 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 lifecycle 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"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

SecurityPolicy A security policy (SecurityPolicy resource) defines security requirements for resources in a security zone. If a security zone enables a security policy through a security recipe (SecurityRecipe resource), then any action that would violate that policy is blocked.

func (SecurityPolicy) String ¶ added in v65.3.0

func (m SecurityPolicy) String() string

func (SecurityPolicy) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityPolicyCollection ¶ added in v65.3.0

type SecurityPolicyCollection struct {

	// A list of SecurityPolicySummary resources
	Items []SecurityPolicySummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`

	// 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"`
}

SecurityPolicyCollection Results of a security policy search.

func (SecurityPolicyCollection) String ¶ added in v65.3.0

func (m SecurityPolicyCollection) String() string

func (SecurityPolicyCollection) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityPolicyCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityPolicySummary ¶ added in v65.3.0

type SecurityPolicySummary struct {

	// Unique identifier that can’t be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// The OCID 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 display name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The security policy's description
	Description *string `mandatory:"false" json:"description"`

	// The category of the security policy
	Category *string `mandatory:"false" json:"category"`

	// The list of services that the security policy protects
	Services []string `mandatory:"false" json:"services"`

	// The date and time the security policy was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the security policy was last updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the security policy
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a policy in the `Failed` state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

SecurityPolicySummary Summary information for a Security Zones policy. A security policy defines a security requirement for resources in a security zone.

func (SecurityPolicySummary) String ¶ added in v65.3.0

func (m SecurityPolicySummary) String() string

func (SecurityPolicySummary) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityPolicySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityRatingEnum ¶

type SecurityRatingEnum string

SecurityRatingEnum Enum with underlying type: string

const (
	SecurityRatingExcellent SecurityRatingEnum = "EXCELLENT"
	SecurityRatingGood      SecurityRatingEnum = "GOOD"
	SecurityRatingFair      SecurityRatingEnum = "FAIR"
	SecurityRatingPoor      SecurityRatingEnum = "POOR"
	SecurityRatingNa        SecurityRatingEnum = "NA"
)

Set of constants representing the allowable values for SecurityRatingEnum

func GetMappingSecurityRatingEnum ¶

func GetMappingSecurityRatingEnum(val string) (SecurityRatingEnum, bool)

GetMappingSecurityRatingEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityRatingEnumValues ¶

func GetSecurityRatingEnumValues() []SecurityRatingEnum

GetSecurityRatingEnumValues Enumerates the set of values for SecurityRatingEnum

type SecurityRecipe ¶ added in v65.3.0

type SecurityRecipe struct {

	// Unique identifier that can’t be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// The OCID 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 security policy IDs that are included in the recipe
	SecurityPolicies []string `mandatory:"true" json:"securityPolicies"`

	// The recipe's display 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 lifecycle state of the recipe
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a recipe in the `Failed` state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

SecurityRecipe A security zone recipe (SecurityRecipe resource) is a collection of security zone policies (SecurityPolicy resources). Oracle Cloud Infrastructure enforces these policies on security zones that use the recipe.

func (SecurityRecipe) String ¶ added in v65.3.0

func (m SecurityRecipe) String() string

func (SecurityRecipe) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityRecipeCollection ¶ added in v65.3.0

type SecurityRecipeCollection struct {

	// A list of SecurityRecipeSummary resources
	Items []SecurityRecipeSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`

	// 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"`
}

SecurityRecipeCollection Collection of Security Zones recipes (SecurityRecipeSummary resources), resulting from a security zone recipe search.

func (SecurityRecipeCollection) String ¶ added in v65.3.0

func (m SecurityRecipeCollection) String() string

func (SecurityRecipeCollection) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityRecipeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityRecipeSummary ¶ added in v65.3.0

type SecurityRecipeSummary struct {

	// Unique identifier that can't be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// The OCID 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 security policy 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 lifecycle state of the recipe
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a recipe in the `Failed` state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

SecurityRecipeSummary Summary information for a Security Zones recipe.

func (SecurityRecipeSummary) String ¶ added in v65.3.0

func (m SecurityRecipeSummary) String() string

func (SecurityRecipeSummary) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityRecipeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityScoreAggregation ¶

type SecurityScoreAggregation struct {

	// The key-value pairs of dimensions and their names
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// The security rating with given parameters
	SecurityRating SecurityRatingEnum `mandatory:"true" json:"securityRating"`

	// The security score with given parameters
	SecurityScore *int `mandatory:"true" json:"securityScore"`
}

SecurityScoreAggregation Provides the dimensions and their corresponding count value.

func (SecurityScoreAggregation) String ¶

func (m SecurityScoreAggregation) String() string

func (SecurityScoreAggregation) ValidateEnumValue ¶

func (m SecurityScoreAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityScoreAggregationCollection ¶

type SecurityScoreAggregationCollection struct {

	// List of all the SecurityScoreAggregation resources objects.
	Items []SecurityScoreAggregation `mandatory:"true" json:"items"`
}

SecurityScoreAggregationCollection Collection of security score aggregation information.

func (SecurityScoreAggregationCollection) String ¶

func (SecurityScoreAggregationCollection) ValidateEnumValue ¶

func (m SecurityScoreAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityScoreTrendAggregation ¶

type SecurityScoreTrendAggregation struct {

	// The key-value pairs of dimensions and their names
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// Start time in epoch seconds
	StartTimestamp *float32 `mandatory:"true" json:"startTimestamp"`

	// Duration
	DurationInSeconds *int `mandatory:"true" json:"durationInSeconds"`

	// The security rating with given dimensions and time range
	SecurityRating SecurityRatingEnum `mandatory:"true" json:"securityRating"`

	// The security score with given dimensions and time range
	SecurityScore *int `mandatory:"true" json:"securityScore"`
}

SecurityScoreTrendAggregation Provides the dimensions and their corresponding time and security score.

func (SecurityScoreTrendAggregation) String ¶

func (SecurityScoreTrendAggregation) ValidateEnumValue ¶

func (m SecurityScoreTrendAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityScoreTrendAggregationCollection ¶

type SecurityScoreTrendAggregationCollection struct {

	// List of all the SecurityScoreTrendAggregation resources
	Items []SecurityScoreTrendAggregation `mandatory:"true" json:"items"`
}

SecurityScoreTrendAggregationCollection Collection of security trend aggregation information.

func (SecurityScoreTrendAggregationCollection) String ¶

func (SecurityScoreTrendAggregationCollection) ValidateEnumValue ¶

func (m SecurityScoreTrendAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityZone ¶ added in v65.3.0

type SecurityZone struct {

	// Unique identifier that can’t be changed after 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` resource) for the security zone
	SecurityZoneRecipeId *string `mandatory:"true" json:"securityZoneRecipeId"`

	// The security zone's display 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 lifecycle state of the security zone
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the `Failed` state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

SecurityZone A security zone is associated with a security zone recipe and enforces all security zone policies in the recipe. Any actions in the zone's compartment (and any subcompartments in the zone) that violate a policy are denied.

func (SecurityZone) String ¶ added in v65.3.0

func (m SecurityZone) String() string

func (SecurityZone) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityZone) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityZoneCollection ¶ added in v65.3.0

type SecurityZoneCollection struct {

	// List of SecurityZoneSummary resources
	Items []SecurityZoneSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

SecurityZoneCollection A collection of security zones. Results of a security zone search.

func (SecurityZoneCollection) String ¶ added in v65.3.0

func (m SecurityZoneCollection) String() string

func (SecurityZoneCollection) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityZoneCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityZoneSummary ¶ added in v65.3.0

type SecurityZoneSummary struct {

	// Unique security zone identifier that can't be changed after 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` resource) for the security zone
	SecurityZoneRecipeId *string `mandatory:"true" json:"securityZoneRecipeId"`

	// The security zone's display 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 lifecycle state of the security zone
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the `Failed` state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

SecurityZoneSummary Summary information for a security zone. A security zone is associated with a security zone recipe and enforces all security zone policies in the recipe.

func (SecurityZoneSummary) String ¶ added in v65.3.0

func (m SecurityZoneSummary) String() string

func (SecurityZoneSummary) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityZoneSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityZoneTargetDetails ¶ added in v65.3.0

type SecurityZoneTargetDetails struct {

	// The OCID of the security zone to associate with this compartment
	SecurityZoneId *string `mandatory:"false" json:"securityZoneId"`

	// The name of the security zone to associate with this compartment.
	SecurityZoneDisplayName *string `mandatory:"false" json:"securityZoneDisplayName"`

	// The list of security zone recipes to associate with this compartment
	TargetSecurityZoneRecipes []SecurityRecipe `mandatory:"false" json:"targetSecurityZoneRecipes"`
}

SecurityZoneTargetDetails Target details for a security zone target.

func (SecurityZoneTargetDetails) MarshalJSON ¶ added in v65.3.0

func (m SecurityZoneTargetDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SecurityZoneTargetDetails) String ¶ added in v65.3.0

func (m SecurityZoneTargetDetails) String() string

func (SecurityZoneTargetDetails) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityZoneTargetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ServiceConfiguration ¶ added in v65.64.0

type ServiceConfiguration interface {
}

ServiceConfiguration Configurations that are specific to a service.

type ServiceTypeSummary ¶

type ServiceTypeSummary struct {

	// Name of the service type
	Name *string `mandatory:"true" json:"name"`

	// List of resource types
	ResourceTypes []ResourceTypeSummary `mandatory:"true" json:"resourceTypes"`
}

ServiceTypeSummary Summary information for a service type.

func (ServiceTypeSummary) String ¶

func (m ServiceTypeSummary) String() string

func (ServiceTypeSummary) ValidateEnumValue ¶

func (m ServiceTypeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SeverityEnum ¶

type SeverityEnum string

SeverityEnum Enum with underlying type: string

const (
	SeverityCritical SeverityEnum = "CRITICAL"
	SeverityHigh     SeverityEnum = "HIGH"
	SeverityMedium   SeverityEnum = "MEDIUM"
	SeverityLow      SeverityEnum = "LOW"
	SeverityMinor    SeverityEnum = "MINOR"
)

Set of constants representing the allowable values for SeverityEnum

func GetMappingSeverityEnum ¶

func GetMappingSeverityEnum(val string) (SeverityEnum, bool)

GetMappingSeverityEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSeverityEnumValues ¶

func GetSeverityEnumValues() []SeverityEnum

GetSeverityEnumValues Enumerates the set of values for SeverityEnum

type Sighting ¶

type Sighting struct {

	// Unique identifier for the sighting
	Id *string `mandatory:"true" json:"id"`

	// Description of the sighting
	Description *string `mandatory:"true" json:"description"`

	// Compartment OCID where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Classification status of the sighting
	ClassificationStatus ClassificationStatusEnum `mandatory:"true" json:"classificationStatus"`

	// Type of sighting
	SightingType *string `mandatory:"true" json:"sightingType"`

	// Display name of the sighting type
	SightingTypeDisplayName *string `mandatory:"true" json:"sightingTypeDisplayName"`

	// Name of the MITRE ATT@CK framework tactic
	TacticName *string `mandatory:"true" json:"tacticName"`

	// Name of the MITRE ATT@CK framework 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"`

	// Level of confidence that the sighting is not a false positive
	Confidence ConfidenceEnum `mandatory:"true" json:"confidence"`

	// Time the activities were first detected. Format defined by RFC3339.
	TimeFirstDetected *common.SDKTime `mandatory:"true" json:"timeFirstDetected"`

	// Time the activities were last detected. Format defined by RFC3339.
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// List of regions involved in the sighting
	Regions []string `mandatory:"true" json:"regions"`

	// Problem ID associated the sighting
	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"`

	// Time the activities were first performed. Format defined by RFC3339.
	TimeFirstOccurred *common.SDKTime `mandatory:"false" json:"timeFirstOccurred"`

	// Time the activities were last performed. Format defined by RFC3339.
	TimeLastOccurred *common.SDKTime `mandatory:"false" json:"timeLastOccurred"`

	// The additional details for the sighting
	AdditionalDetails map[string]string `mandatory:"false" json:"additionalDetails"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

Sighting Sighting details.

func (Sighting) String ¶

func (m Sighting) String() string

func (Sighting) ValidateEnumValue ¶

func (m Sighting) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingCollection ¶

type SightingCollection struct {

	// List of SightingSummary resources
	Items []SightingSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

SightingCollection Collection of sighting summaries.

func (SightingCollection) String ¶

func (m SightingCollection) String() string

func (SightingCollection) ValidateEnumValue ¶

func (m SightingCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingEndpointCollection ¶

type SightingEndpointCollection struct {

	// List of SightingEndpointSummary resources
	Items []SightingEndpointSummary `mandatory:"true" json:"items"`
}

SightingEndpointCollection Collection of sighting endpoint summaries.

func (SightingEndpointCollection) String ¶

func (SightingEndpointCollection) ValidateEnumValue ¶

func (m SightingEndpointCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingEndpointSummary ¶

type SightingEndpointSummary struct {

	// Unique identifier for sighting endpoints
	Id *string `mandatory:"true" json:"id"`

	// Sighting ID for sighting endpoints
	SightingId *string `mandatory:"true" json:"sightingId"`

	// IP address involved in sighting
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// Type of IP address involved in sighting
	IpAddressType *string `mandatory:"true" json:"ipAddressType"`

	// Time the activities were last detected.
	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 involved in sighting
	Country *string `mandatory:"false" json:"country"`

	// Latitude of sighting
	Latitude *float64 `mandatory:"false" json:"latitude"`

	// Longitude of sighting
	Longitude *float64 `mandatory:"false" json:"longitude"`

	// ASN number of sighting
	AsnNumber *string `mandatory:"false" json:"asnNumber"`

	// List of regions where activities were performed from this IP address
	Regions []string `mandatory:"false" json:"regions"`

	// List of services where activities were performed from this IP address
	Services []string `mandatory:"false" json:"services"`

	// Time the activities were first detected.
	TimeFirstDetected *common.SDKTime `mandatory:"false" json:"timeFirstDetected"`

	// Time the activities were first performed.
	TimeFirstOccurred *common.SDKTime `mandatory:"false" json:"timeFirstOccurred"`

	// Time the activities were last performed.
	TimeLastOccurred *common.SDKTime `mandatory:"false" json:"timeLastOccurred"`
}

SightingEndpointSummary A summary of sighting endpoints.

func (SightingEndpointSummary) String ¶

func (m SightingEndpointSummary) String() string

func (SightingEndpointSummary) ValidateEnumValue ¶

func (m SightingEndpointSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingImpactedResourceCollection ¶

type SightingImpactedResourceCollection struct {

	// List of SightingImpactedResourceSummary resources
	Items []SightingImpactedResourceSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

SightingImpactedResourceCollection Collection of sighting impacted resource summaries.

func (SightingImpactedResourceCollection) String ¶

func (SightingImpactedResourceCollection) ValidateEnumValue ¶

func (m SightingImpactedResourceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingImpactedResourceSummary ¶

type SightingImpactedResourceSummary struct {

	// Unique identifier for an impacted resource
	Id *string `mandatory:"true" json:"id"`

	// Impacted resource ID
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// Sighting ID for impacted resource
	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"`

	// Date and 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"`

	// Time the activities were first detected.
	TimeFirstDetected *common.SDKTime `mandatory:"false" json:"timeFirstDetected"`

	// Time the activities were last detected. Same as timeIdentified.
	TimeLastDetected *common.SDKTime `mandatory:"false" json:"timeLastDetected"`

	// Time the activities were first performed.
	TimeFirstOccurred *common.SDKTime `mandatory:"false" json:"timeFirstOccurred"`

	// Time the activities were last performed.
	TimeLastOccurred *common.SDKTime `mandatory:"false" json:"timeLastOccurred"`
}

SightingImpactedResourceSummary Summary of resources impacted by a sighting.

func (SightingImpactedResourceSummary) String ¶

func (SightingImpactedResourceSummary) ValidateEnumValue ¶

func (m SightingImpactedResourceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingSummary ¶

type SightingSummary struct {

	// Unique identifier for sighting
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID where the impacted resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Unique identifier of the detector rule that was triggered
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	// Classification status of the sighting
	ClassificationStatus ClassificationStatusEnum `mandatory:"true" json:"classificationStatus"`

	// Type of sighting
	SightingType *string `mandatory:"true" json:"sightingType"`

	// Display name of the sighting type
	SightingTypeDisplayName *string `mandatory:"true" json:"sightingTypeDisplayName"`

	// Name of the MITRE ATT@CK framework tactic
	TacticName *string `mandatory:"true" json:"tacticName"`

	// Name of the MITRE ATT@CK framework 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 level that the sighting is not a false positive
	Confidence ConfidenceEnum `mandatory:"true" json:"confidence"`

	// Time the activities were first detected. Format defined by RFC3339.
	TimeFirstDetected *common.SDKTime `mandatory:"true" json:"timeFirstDetected"`

	// Time the activities were last detected. Format defined by RFC3339.
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// List of regions involved in the sighting
	Regions []string `mandatory:"true" json:"regions"`

	// Problem ID associated with sighting
	ProblemId *string `mandatory:"false" json:"problemId"`

	// Unique identifier for principal actor
	ActorPrincipalId *string `mandatory:"false" json:"actorPrincipalId"`

	// Name of principal actor
	ActorPrincipalName *string `mandatory:"false" json:"actorPrincipalName"`

	// Type of principal actor
	ActorPrincipalType *string `mandatory:"false" json:"actorPrincipalType"`

	// Time the activities were first performed. Format defined by RFC3339.
	TimeFirstOccurred *common.SDKTime `mandatory:"false" json:"timeFirstOccurred"`

	// Time the activities were last performed. Format defined by RFC3339.
	TimeLastOccurred *common.SDKTime `mandatory:"false" json:"timeLastOccurred"`
}

SightingSummary Sighting summary definition.

func (SightingSummary) String ¶

func (m SightingSummary) String() string

func (SightingSummary) ValidateEnumValue ¶

func (m SightingSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingType ¶

type SightingType struct {

	// The unique identifier of the sighting type
	Id *string `mandatory:"false" json:"id"`

	// Display name of the sighting type
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description of the sighting type
	Description *string `mandatory:"false" json:"description"`

	// MITRE ATT@CK framework link for the sighting type
	MitreLink *string `mandatory:"false" json:"mitreLink"`

	// MITRE ATT@CK framework tactic for the sighting type
	Tactic *string `mandatory:"false" json:"tactic"`

	// List of MITRE ATT@CK framework techniques for the sighting type
	Techniques []string `mandatory:"false" json:"techniques"`
}

SightingType Information for a sighting type

func (SightingType) String ¶

func (m SightingType) String() string

func (SightingType) ValidateEnumValue ¶

func (m SightingType) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SimpleCondition ¶

type SimpleCondition struct {

	// Parameter key
	Parameter *string `mandatory:"false" json:"parameter"`

	// Value of operator in condition
	Value *string `mandatory:"false" json:"value"`

	// Type of operator
	Operator OperatorTypeEnum `mandatory:"false" json:"operator,omitempty"`

	// Type of value in condition
	ValueType ConditionValueTypeEnum `mandatory:"false" json:"valueType,omitempty"`
}

SimpleCondition Information for a simple condition.

func (SimpleCondition) MarshalJSON ¶

func (m SimpleCondition) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SimpleCondition) String ¶

func (m SimpleCondition) String() string

func (SimpleCondition) ValidateEnumValue ¶

func (m SimpleCondition) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SkipBulkResponderExecutionDetails ¶

type SkipBulkResponderExecutionDetails struct {

	// List of responder execution IDs to skip execution
	ResponderExecutionIds []string `mandatory:"true" json:"responderExecutionIds"`
}

SkipBulkResponderExecutionDetails Details of responders to skip execution.

func (SkipBulkResponderExecutionDetails) String ¶

func (SkipBulkResponderExecutionDetails) ValidateEnumValue ¶

func (m SkipBulkResponderExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SkipBulkResponderExecutionRequest ¶

type SkipBulkResponderExecutionRequest struct {

	// A list of responder execution IDs to skip the execution
	SkipBulkResponderExecutionDetails `contributesTo:"body"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

SkipBulkResponderExecutionRequest wrapper for the SkipBulkResponderExecution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/SkipBulkResponderExecution.go.html to see an example of how to use SkipBulkResponderExecutionRequest.

func (SkipBulkResponderExecutionRequest) BinaryRequestBody ¶

func (request SkipBulkResponderExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SkipBulkResponderExecutionRequest) HTTPRequest ¶

func (request SkipBulkResponderExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SkipBulkResponderExecutionRequest) RetryPolicy ¶

func (request SkipBulkResponderExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SkipBulkResponderExecutionRequest) String ¶

func (request SkipBulkResponderExecutionRequest) String() string

func (SkipBulkResponderExecutionRequest) ValidateEnumValue ¶

func (request SkipBulkResponderExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SkipBulkResponderExecutionResponse ¶

type SkipBulkResponderExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

SkipBulkResponderExecutionResponse wrapper for the SkipBulkResponderExecution operation

func (SkipBulkResponderExecutionResponse) HTTPResponse ¶

func (response SkipBulkResponderExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SkipBulkResponderExecutionResponse) String ¶

func (response SkipBulkResponderExecutionResponse) String() string

type SkipResponderExecutionRequest ¶

type SkipResponderExecutionRequest struct {

	// The unique identifier of the responder execution.
	ResponderExecutionId *string `mandatory:"true" contributesTo:"path" name:"responderExecutionId"`

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

SkipResponderExecutionRequest wrapper for the SkipResponderExecution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/SkipResponderExecution.go.html to see an example of how to use SkipResponderExecutionRequest.

func (SkipResponderExecutionRequest) BinaryRequestBody ¶

func (request SkipResponderExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SkipResponderExecutionRequest) HTTPRequest ¶

func (request SkipResponderExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SkipResponderExecutionRequest) RetryPolicy ¶

func (request SkipResponderExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SkipResponderExecutionRequest) String ¶

func (request SkipResponderExecutionRequest) String() string

func (SkipResponderExecutionRequest) ValidateEnumValue ¶

func (request SkipResponderExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SkipResponderExecutionResponse ¶

type SkipResponderExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

SkipResponderExecutionResponse wrapper for the SkipResponderExecution operation

func (SkipResponderExecutionResponse) HTTPResponse ¶

func (response SkipResponderExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SkipResponderExecutionResponse) String ¶

func (response SkipResponderExecutionResponse) String() string

type SortOrdersEnum ¶

type SortOrdersEnum string

SortOrdersEnum Enum with underlying type: string

const (
	SortOrdersAsc  SortOrdersEnum = "ASC"
	SortOrdersDesc SortOrdersEnum = "DESC"
)

Set of constants representing the allowable values for SortOrdersEnum

func GetMappingSortOrdersEnum ¶

func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)

GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrdersEnumValues ¶

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type TacticCollection ¶

type TacticCollection struct {

	// List of TacticSummay resources
	Items []TacticSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

TacticCollection Collection of tactic summaries.

func (TacticCollection) String ¶

func (m TacticCollection) String() string

func (TacticCollection) ValidateEnumValue ¶

func (m TacticCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TacticSummary ¶

type TacticSummary struct {

	// Unique identifier for the tactic
	Id *string `mandatory:"true" json:"id"`

	// Display name of the tactic
	DisplayName *string `mandatory:"true" json:"displayName"`
}

TacticSummary Summary information for a tactic.

func (TacticSummary) String ¶

func (m TacticSummary) String() string

func (TacticSummary) ValidateEnumValue ¶

func (m TacticSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Target ¶

type Target struct {

	// Unique identifier that can't be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Type of target
	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
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The target description
	Description *string `mandatory:"false" json:"description"`

	// List of detector recipes attached to target
	TargetDetectorRecipes []TargetDetectorRecipe `mandatory:"false" json:"targetDetectorRecipes"`

	// List of responder recipes attached to 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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the target
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current lifecycle state in more detail. For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE]
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Target A target defines the scope of resources that Cloud Guard monitors and the rules to be enforced in that monitoring. A Target resource contains the settings for a specific target.

func (Target) String ¶

func (m Target) String() string

func (*Target) UnmarshalJSON ¶ added in v65.3.0

func (m *Target) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (Target) ValidateEnumValue ¶

func (m Target) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetCollection ¶

type TargetCollection struct {

	// List of TargetSummary resources
	Items []TargetSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

TargetCollection Collection of summary information for targets.

func (TargetCollection) String ¶

func (m TargetCollection) String() string

func (TargetCollection) ValidateEnumValue ¶

func (m TargetCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetails ¶ added in v65.3.0

type TargetDetails interface {
}

TargetDetails Details specific to the target type.

type TargetDetectorDetails ¶

type TargetDetectorDetails struct {

	// Enablement state of the detector rule
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// The risk level of the detector rule
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// List of detector rule configurations
	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"`

	// Point at which an elevated resource risk score creates a problem
	ProblemThreshold *int `mandatory:"false" json:"problemThreshold"`

	// List of target types for which the detector rule is applicable
	TargetTypes []string `mandatory:"false" json:"targetTypes"`

	// List of sighting types
	SightingTypes []SightingType `mandatory:"false" json:"sightingTypes"`
}

TargetDetectorDetails Overriden settings of a detector rule in recipe attached to target.

func (TargetDetectorDetails) String ¶

func (m TargetDetectorDetails) String() string

func (TargetDetectorDetails) ValidateEnumValue ¶

func (m TargetDetectorDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetectorRecipe ¶

type TargetDetectorRecipe struct {

	// OCID for the detector recipe
	Id *string `mandatory:"true" json:"id"`

	// Display name of the detector recipe
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment OCID of the detector recipe
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Unique identifier for of original Oracle-managed detector recipe on which the TargetDetectorRecipe is based
	DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"`

	// Owner of the 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 recipe - user input
	DetectorRules []TargetDetectorRecipeDetectorRule `mandatory:"false" json:"detectorRules"`

	// List of currently enabled 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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the resource
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`

	// Recipe type ( STANDARD, ENTERPRISE )
	DetectorRecipeType DetectorRecipeEnumEnum `mandatory:"false" json:"detectorRecipeType,omitempty"`

	// The number of days for which source data is retained
	SourceDataRetention *int `mandatory:"false" json:"sourceDataRetention"`
}

TargetDetectorRecipe A TargetDetectorRecipe resource contains a specific instance of one of the supported detector types (for example, activity, configuration, or threat) in which some settings can be modified specifically for a single target. A TargetDetectorRecipe resource: * Is effectively a copy of a DetectorRecipe resource in which users can make very limited changes if it’s Oracle-managed, and more changes if it’s user-managed. * Is visible on the Cloud Guard Targets, Target Details page. * Is located in a specific OCI compartment. * Can be modified by users, programmatically or through the UI. * Changes that can be made here override any settings in the corresponding DetectorRecipe, of which the TargetDetectorRecipe resource is effectively a copy, created when the detector recipe is attached to the target.

func (TargetDetectorRecipe) String ¶

func (m TargetDetectorRecipe) String() string

func (TargetDetectorRecipe) ValidateEnumValue ¶

func (m TargetDetectorRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetectorRecipeCollection ¶

type TargetDetectorRecipeCollection struct {

	// List of TargetDetectorRecipeSummary resources
	Items []TargetDetectorRecipeSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

TargetDetectorRecipeCollection Collection of target detector recipe summaries.

func (TargetDetectorRecipeCollection) String ¶

func (TargetDetectorRecipeCollection) ValidateEnumValue ¶

func (m TargetDetectorRecipeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetectorRecipeDetectorRule ¶

type TargetDetectorRecipeDetectorRule struct {

	// The unique identifier of the detector rule
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	// Detector type 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"`

	// The type of resource which is monitored by the detector rule.
	// For example, Instance, Database, VCN, Policy. To find the resource type for a
	// particular rule, see Detector Recipe Reference
	//  (https://docs.cloud.oracle.com/iaas/cloud-guard/using/detect-recipes.htm#detect-recipes-reference).
	// Or try Detector Recipe Reference
	//  (https://docs.cloud.oracle.com/cloud-guard/using/detect-recipes.htm#detect-recipes-reference).
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// Display name for TargetDetectorRecipeDetectorRule resource
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description for TargetDetectorRecipeDetectorRule resource
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for TargetDetectorRecipeDetectorRule resource
	Recommendation *string `mandatory:"false" json:"recommendation"`

	Details *TargetDetectorDetails `mandatory:"false" json:"details"`

	// List of 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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle 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"`

	// The ID of the attached data source
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data source entities mapping for a detector rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

TargetDetectorRecipeDetectorRule A TargetDetectorRecipeDetectorRule resource contains a specific instance of a single detector rule in one of the supported detector types (for example, activity, configuration, or threat). A TargetDetectorRecipeDetectorRule resource: * Is effectively a copy of a DetectorRecipeRule resource (made when a detector recipe is attached to a target) in which users can make certain changes if it’s Oracle-managed, and other changes if it’s user-managed. * Is visible on the Cloud Guard Targets, Target Details page. * Is effectively located in a specific OCI compartment, through the ThreatDetectorRecipe resource to which it belongs. * Can be modified by users, programmatically or through the UI. * Changes that can be made here apply locally, to resources in OCI compartments mapped to the target that attaches the associated detector recipe (in a TargetDetectorRecipe resource), and override any changes made in rules associated with the corresponding DetectorRecipe resource.

func (TargetDetectorRecipeDetectorRule) String ¶

func (TargetDetectorRecipeDetectorRule) ValidateEnumValue ¶

func (m TargetDetectorRecipeDetectorRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetectorRecipeDetectorRuleCollection ¶

type TargetDetectorRecipeDetectorRuleCollection struct {

	// List of TargetDetectorRecipeDetectorRuleSummary resources
	Items []TargetDetectorRecipeDetectorRuleSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

TargetDetectorRecipeDetectorRuleCollection Collection of summary information for target detector recipe detector rules.

func (TargetDetectorRecipeDetectorRuleCollection) String ¶

func (TargetDetectorRecipeDetectorRuleCollection) ValidateEnumValue ¶

func (m TargetDetectorRecipeDetectorRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetectorRecipeDetectorRuleManagedListTypesEnum ¶

type TargetDetectorRecipeDetectorRuleManagedListTypesEnum string

TargetDetectorRecipeDetectorRuleManagedListTypesEnum Enum with underlying type: string

const (
	TargetDetectorRecipeDetectorRuleManagedListTypesCidrBlock            TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "CIDR_BLOCK"
	TargetDetectorRecipeDetectorRuleManagedListTypesUsers                TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "USERS"
	TargetDetectorRecipeDetectorRuleManagedListTypesGroups               TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "GROUPS"
	TargetDetectorRecipeDetectorRuleManagedListTypesIpv4address          TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "IPV4ADDRESS"
	TargetDetectorRecipeDetectorRuleManagedListTypesIpv6address          TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "IPV6ADDRESS"
	TargetDetectorRecipeDetectorRuleManagedListTypesResourceOcid         TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "RESOURCE_OCID"
	TargetDetectorRecipeDetectorRuleManagedListTypesRegion               TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "REGION"
	TargetDetectorRecipeDetectorRuleManagedListTypesCountry              TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "COUNTRY"
	TargetDetectorRecipeDetectorRuleManagedListTypesState                TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "STATE"
	TargetDetectorRecipeDetectorRuleManagedListTypesCity                 TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "CITY"
	TargetDetectorRecipeDetectorRuleManagedListTypesTags                 TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "TAGS"
	TargetDetectorRecipeDetectorRuleManagedListTypesGeneric              TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "GENERIC"
	TargetDetectorRecipeDetectorRuleManagedListTypesFusionAppsRole       TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "FUSION_APPS_ROLE"
	TargetDetectorRecipeDetectorRuleManagedListTypesFusionAppsPermission TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "FUSION_APPS_PERMISSION"
)

Set of constants representing the allowable values for TargetDetectorRecipeDetectorRuleManagedListTypesEnum

func GetMappingTargetDetectorRecipeDetectorRuleManagedListTypesEnum ¶

func GetMappingTargetDetectorRecipeDetectorRuleManagedListTypesEnum(val string) (TargetDetectorRecipeDetectorRuleManagedListTypesEnum, bool)

GetMappingTargetDetectorRecipeDetectorRuleManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues ¶

func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues() []TargetDetectorRecipeDetectorRuleManagedListTypesEnum

GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues Enumerates the set of values for TargetDetectorRecipeDetectorRuleManagedListTypesEnum

type TargetDetectorRecipeDetectorRuleSummary ¶

type TargetDetectorRecipeDetectorRuleSummary struct {

	// The unique identifier of the detector rule
	Id *string `mandatory:"true" json:"id"`

	// Type of detector
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// Detector template display name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Detector template description
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for TargetDetectorRecipeDetectorRule resource
	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 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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle 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 unique identifier of the attached data source
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data source entities mapping for a detector rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

TargetDetectorRecipeDetectorRuleSummary Summary information for a detector rule in a detector recipe.

func (TargetDetectorRecipeDetectorRuleSummary) String ¶

func (TargetDetectorRecipeDetectorRuleSummary) ValidateEnumValue ¶

func (m TargetDetectorRecipeDetectorRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum ¶

type TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum string

TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string

const (
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock            TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesUsers                TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "USERS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGroups               TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GROUPS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address          TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address          TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid         TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesRegion               TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "REGION"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCountry              TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "COUNTRY"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesState                TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "STATE"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCity                 TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CITY"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesTags                 TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "TAGS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGeneric              TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GENERIC"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsRole       TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_ROLE"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsPermission TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_PERMISSION"
)

Set of constants representing the allowable values for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum

func GetMappingTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum ¶

func GetMappingTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum(val string) (TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum, bool)

GetMappingTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues ¶

func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues() []TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum

GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum

type TargetDetectorRecipeSummary ¶

type TargetDetectorRecipeSummary struct {

	// Unique identifier that can't be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Detector recipe's display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Detector recipe's description
	Description *string `mandatory:"true" json:"description"`

	// Detector recipe's owner
	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 lifecycle 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 last 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"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`

	// Recipe type ( STANDARD, ENTERPRISE )
	DetectorRecipeType DetectorRecipeEnumEnum `mandatory:"false" json:"detectorRecipeType,omitempty"`

	// The number of days for which source data is retained
	SourceDataRetention *int `mandatory:"false" json:"sourceDataRetention"`
}

TargetDetectorRecipeSummary Summary information for a target detector recipe

func (TargetDetectorRecipeSummary) String ¶

func (TargetDetectorRecipeSummary) ValidateEnumValue ¶

func (m TargetDetectorRecipeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetIdsSelected ¶

type TargetIdsSelected struct {

	// IDs of targets
	Values []string `mandatory:"false" json:"values"`
}

TargetIdsSelected Target selection on basis of target IDs.

func (TargetIdsSelected) MarshalJSON ¶

func (m TargetIdsSelected) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TargetIdsSelected) String ¶

func (m TargetIdsSelected) String() string

func (TargetIdsSelected) ValidateEnumValue ¶

func (m TargetIdsSelected) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResourceTypeEnum ¶

type TargetResourceTypeEnum string

TargetResourceTypeEnum Enum with underlying type: string

const (
	TargetResourceTypeCompartment  TargetResourceTypeEnum = "COMPARTMENT"
	TargetResourceTypeErpcloud     TargetResourceTypeEnum = "ERPCLOUD"
	TargetResourceTypeHcmcloud     TargetResourceTypeEnum = "HCMCLOUD"
	TargetResourceTypeSecurityZone TargetResourceTypeEnum = "SECURITY_ZONE"
)

Set of constants representing the allowable values for TargetResourceTypeEnum

func GetMappingTargetResourceTypeEnum ¶

func GetMappingTargetResourceTypeEnum(val string) (TargetResourceTypeEnum, bool)

GetMappingTargetResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetResourceTypeEnumValues ¶

func GetTargetResourceTypeEnumValues() []TargetResourceTypeEnum

GetTargetResourceTypeEnumValues Enumerates the set of values for TargetResourceTypeEnum

type TargetResourceTypesSelected ¶

type TargetResourceTypesSelected struct {

	// Types of targets
	Values []TargetResourceTypeEnum `mandatory:"false" json:"values,omitempty"`
}

TargetResourceTypesSelected Target selection on basis of target resource types.

func (TargetResourceTypesSelected) MarshalJSON ¶

func (m TargetResourceTypesSelected) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TargetResourceTypesSelected) String ¶

func (TargetResourceTypesSelected) ValidateEnumValue ¶

func (m TargetResourceTypesSelected) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResponderRecipe ¶

type TargetResponderRecipe struct {

	// Unique identifier of target responder recipe that can't be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// Unique identifier for the Oracle-managed responder recipe from which this recipe was cloned
	ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"`

	// Compartment OCID
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Target responder recipe display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Target responder description
	Description *string `mandatory:"true" json:"description"`

	// Owner of target responder recipe
	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 last 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 currently enabled responder rules for the responder type for recipe after applying defaults
	EffectiveResponderRules []TargetResponderRecipeResponderRule `mandatory:"false" json:"effectiveResponderRules"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

TargetResponderRecipe A TargetResponderRecipe resource contains a specific instance of one of the supported detector types (for example, activity, configuration, or threat) in which some settings can be modified specifically for a single target. A TargetResponderRecipe resource: * Is effectively a copy of a ResponderRecipe resource in which users can make very limited changes if it’s Oracle-managed, and more changes if it’s user-managed. * Is visible on the Cloud Guard Targets, Target Details page. * Is located in a specific OCI compartment. * Can be modified by users, programmatically or through the UI. * Changes that can be made here override any settings in the corresponding ResponderRecipe, of which the TargetResponderRecipe resource is effectively a copy of the ResponderRecipe resource (effectively created when the detector recipe is attached to the target).

func (TargetResponderRecipe) String ¶

func (m TargetResponderRecipe) String() string

func (TargetResponderRecipe) ValidateEnumValue ¶

func (m TargetResponderRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResponderRecipeCollection ¶

type TargetResponderRecipeCollection struct {

	// List of TargetResponderRecipeSummary resources
	Items []TargetResponderRecipeSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

TargetResponderRecipeCollection Collection of target responder recipe summaries.

func (TargetResponderRecipeCollection) String ¶

func (TargetResponderRecipeCollection) ValidateEnumValue ¶

func (m TargetResponderRecipeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResponderRecipeResponderRule ¶

type TargetResponderRecipeResponderRule struct {

	// Unique identifier for the responder rule
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// Compartment OCID
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Responder rule display name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Responder rule description
	Description *string `mandatory:"false" json:"description"`

	// Type of responder
	Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"`

	// List of policies
	Policies []string `mandatory:"false" json:"policies"`

	// Supported execution modes for the responder rule
	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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the responder 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"`
}

TargetResponderRecipeResponderRule A TargetResponderRecipeResponderRule resource contains a specific instance of a single responder rule. A TargetResponderRecipeRule resource: * Is effectively a copy of a ResponderRecipeRule resource in which users can make certain changes if it’s Oracle-managed, and other changes if it’s user-managed. * Is visible on the Cloud Guard Targets, Target Details page. * Is effectively located in a specific OCI compartment, through the ThreatResponderRecipe resource to which it belongs. * Can be modified by users, programmatically or through the UI. * Changes that can be made here apply locally, to resources in OCI compartments mapped to the target that attaches the associated responder recipe (in a TargetResponderRecipe resource), and override any changes made in rules associated with the corresponding ResponderRecipe resource.

func (TargetResponderRecipeResponderRule) String ¶

func (TargetResponderRecipeResponderRule) ValidateEnumValue ¶

func (m TargetResponderRecipeResponderRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResponderRecipeResponderRuleCollection ¶

type TargetResponderRecipeResponderRuleCollection struct {

	// List of TargetResponderRecipeResponderRuleSummary resources
	Items []TargetResponderRecipeResponderRuleSummary `mandatory:"true" json:"items"`
}

TargetResponderRecipeResponderRuleCollection Collection of summary information for target responder recipe responder rules.

func (TargetResponderRecipeResponderRuleCollection) String ¶

func (TargetResponderRecipeResponderRuleCollection) ValidateEnumValue ¶

func (m TargetResponderRecipeResponderRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResponderRecipeResponderRuleSummary ¶

type TargetResponderRecipeResponderRuleSummary struct {

	// Unique identifier for the responder rule
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Responder rule display name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Responder rule description
	Description *string `mandatory:"false" json:"description"`

	// Type of responder
	Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"`

	// List of policies
	Policies []string `mandatory:"false" json:"policies"`

	// Supported execution modes for the responder rule
	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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle state of the responder 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"`
}

TargetResponderRecipeResponderRuleSummary Summary information for a target responder recipe responder rule.

func (TargetResponderRecipeResponderRuleSummary) String ¶

func (TargetResponderRecipeResponderRuleSummary) ValidateEnumValue ¶

func (m TargetResponderRecipeResponderRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResponderRecipeResponderRuleSummarySupportedModesEnum ¶

type TargetResponderRecipeResponderRuleSummarySupportedModesEnum string

TargetResponderRecipeResponderRuleSummarySupportedModesEnum Enum with underlying type: string

const (
	TargetResponderRecipeResponderRuleSummarySupportedModesAutoaction TargetResponderRecipeResponderRuleSummarySupportedModesEnum = "AUTOACTION"
	TargetResponderRecipeResponderRuleSummarySupportedModesUseraction TargetResponderRecipeResponderRuleSummarySupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for TargetResponderRecipeResponderRuleSummarySupportedModesEnum

func GetMappingTargetResponderRecipeResponderRuleSummarySupportedModesEnum ¶

func GetMappingTargetResponderRecipeResponderRuleSummarySupportedModesEnum(val string) (TargetResponderRecipeResponderRuleSummarySupportedModesEnum, bool)

GetMappingTargetResponderRecipeResponderRuleSummarySupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues ¶

func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues() []TargetResponderRecipeResponderRuleSummarySupportedModesEnum

GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for TargetResponderRecipeResponderRuleSummarySupportedModesEnum

type TargetResponderRecipeResponderRuleSupportedModesEnum ¶

type TargetResponderRecipeResponderRuleSupportedModesEnum string

TargetResponderRecipeResponderRuleSupportedModesEnum Enum with underlying type: string

const (
	TargetResponderRecipeResponderRuleSupportedModesAutoaction TargetResponderRecipeResponderRuleSupportedModesEnum = "AUTOACTION"
	TargetResponderRecipeResponderRuleSupportedModesUseraction TargetResponderRecipeResponderRuleSupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for TargetResponderRecipeResponderRuleSupportedModesEnum

func GetMappingTargetResponderRecipeResponderRuleSupportedModesEnum ¶

func GetMappingTargetResponderRecipeResponderRuleSupportedModesEnum(val string) (TargetResponderRecipeResponderRuleSupportedModesEnum, bool)

GetMappingTargetResponderRecipeResponderRuleSupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetResponderRecipeResponderRuleSupportedModesEnumValues ¶

func GetTargetResponderRecipeResponderRuleSupportedModesEnumValues() []TargetResponderRecipeResponderRuleSupportedModesEnum

GetTargetResponderRecipeResponderRuleSupportedModesEnumValues Enumerates the set of values for TargetResponderRecipeResponderRuleSupportedModesEnum

type TargetResponderRecipeSummary ¶

type TargetResponderRecipeSummary struct {

	// Unique identifier that can't be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Unique identifier for responder recipe of which this is an extension
	ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"`

	// Display name of the responder recipe
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Description of the responder recipe
	Description *string `mandatory:"true" json:"description"`

	// Owner of the responder recipe
	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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle 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"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

TargetResponderRecipeSummary Summary information for a target responder recipe.

func (TargetResponderRecipeSummary) String ¶

func (TargetResponderRecipeSummary) ValidateEnumValue ¶

func (m TargetResponderRecipeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetSelected ¶

type TargetSelected interface {
}

TargetSelected Specification of how targets are to be selected (select ALL, or select by TargetResourceType or TargetId).

type TargetSelectedKindEnum ¶

type TargetSelectedKindEnum string

TargetSelectedKindEnum Enum with underlying type: string

const (
	TargetSelectedKindAll         TargetSelectedKindEnum = "ALL"
	TargetSelectedKindTargettypes TargetSelectedKindEnum = "TARGETTYPES"
	TargetSelectedKindTargetids   TargetSelectedKindEnum = "TARGETIDS"
)

Set of constants representing the allowable values for TargetSelectedKindEnum

func GetMappingTargetSelectedKindEnum ¶

func GetMappingTargetSelectedKindEnum(val string) (TargetSelectedKindEnum, bool)

GetMappingTargetSelectedKindEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetSelectedKindEnumValues ¶

func GetTargetSelectedKindEnumValues() []TargetSelectedKindEnum

GetTargetSelectedKindEnumValues Enumerates the set of values for TargetSelectedKindEnum

type TargetSummary ¶

type TargetSummary struct {

	// Unique identifier for target that can't be changed after creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Type of resource that's associated with the target(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"`

	// Target display name
	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 last updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current lifecycle 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. [DEPRECATE]
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

TargetSummary Summary information for a target.

func (TargetSummary) String ¶

func (m TargetSummary) String() string

func (TargetSummary) ValidateEnumValue ¶

func (m TargetSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TechniqueCollection ¶

type TechniqueCollection struct {

	// List of TechniqueSummary resources
	Items []TechniqueSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

TechniqueCollection Collection of technique summaries.

func (TechniqueCollection) String ¶

func (m TechniqueCollection) String() string

func (TechniqueCollection) ValidateEnumValue ¶

func (m TechniqueCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TechniqueSummary ¶

type TechniqueSummary struct {

	// Unique identifier for the technique
	Id *string `mandatory:"true" json:"id"`

	// Display name of the technique
	DisplayName *string `mandatory:"true" json:"displayName"`
}

TechniqueSummary Summary information for a technique.

func (TechniqueSummary) String ¶

func (m TechniqueSummary) String() string

func (TechniqueSummary) ValidateEnumValue ¶

func (m TechniqueSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TriggerResponderDetails ¶

type TriggerResponderDetails struct {

	// Unique identifier for the responder rule
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// List of responder rule configurations
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`
}

TriggerResponderDetails The responder triggering details to be pushed to responder rules.

func (TriggerResponderDetails) String ¶

func (m TriggerResponderDetails) String() string

func (TriggerResponderDetails) ValidateEnumValue ¶

func (m TriggerResponderDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TriggerResponderRequest ¶

type TriggerResponderRequest struct {

	// OCID of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The responder may update the problem
	TriggerResponderDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

TriggerResponderRequest wrapper for the TriggerResponder operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/TriggerResponder.go.html to see an example of how to use TriggerResponderRequest.

func (TriggerResponderRequest) BinaryRequestBody ¶

func (request TriggerResponderRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (TriggerResponderRequest) HTTPRequest ¶

func (request TriggerResponderRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (TriggerResponderRequest) RetryPolicy ¶

func (request TriggerResponderRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (TriggerResponderRequest) String ¶

func (request TriggerResponderRequest) String() string

func (TriggerResponderRequest) ValidateEnumValue ¶

func (request TriggerResponderRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TriggerResponderResponse ¶

type TriggerResponderResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

TriggerResponderResponse wrapper for the TriggerResponder operation

func (TriggerResponderResponse) HTTPResponse ¶

func (response TriggerResponderResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (TriggerResponderResponse) String ¶

func (response TriggerResponderResponse) String() string

type UpdateBulkProblemStatusDetails ¶

type UpdateBulkProblemStatusDetails struct {

	// Action taken by user
	Status ProblemLifecycleDetailEnum `mandatory:"true" json:"status"`

	// List of problem IDs to be passed in to update the problem status
	ProblemIds []string `mandatory:"true" json:"problemIds"`

	// User-defined comment to be passed in to update the problem
	Comment *string `mandatory:"false" json:"comment"`
}

UpdateBulkProblemStatusDetails List of problem IDs to be passed in to update problem status.

func (UpdateBulkProblemStatusDetails) String ¶

func (UpdateBulkProblemStatusDetails) ValidateEnumValue ¶

func (m UpdateBulkProblemStatusDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBulkProblemStatusRequest ¶

type UpdateBulkProblemStatusRequest struct {

	// A list of Problem IDs to be passed in to update the Problem status
	UpdateBulkProblemStatusDetails `contributesTo:"body"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateBulkProblemStatusRequest wrapper for the UpdateBulkProblemStatus operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateBulkProblemStatus.go.html to see an example of how to use UpdateBulkProblemStatusRequest.

func (UpdateBulkProblemStatusRequest) BinaryRequestBody ¶

func (request UpdateBulkProblemStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateBulkProblemStatusRequest) HTTPRequest ¶

func (request UpdateBulkProblemStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateBulkProblemStatusRequest) RetryPolicy ¶

func (request UpdateBulkProblemStatusRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateBulkProblemStatusRequest) String ¶

func (request UpdateBulkProblemStatusRequest) String() string

func (UpdateBulkProblemStatusRequest) ValidateEnumValue ¶

func (request UpdateBulkProblemStatusRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBulkProblemStatusResponse ¶

type UpdateBulkProblemStatusResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateBulkProblemStatusResponse wrapper for the UpdateBulkProblemStatus operation

func (UpdateBulkProblemStatusResponse) HTTPResponse ¶

func (response UpdateBulkProblemStatusResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateBulkProblemStatusResponse) String ¶

func (response UpdateBulkProblemStatusResponse) String() string

type UpdateConfigurationDetails ¶

type UpdateConfigurationDetails struct {

	// The reporting region
	ReportingRegion *string `mandatory:"true" json:"reportingRegion"`

	// Status of Cloud Guard tenant
	Status CloudGuardStatusEnum `mandatory:"true" json:"status"`

	// List of service configurations for tenant
	ServiceConfigurations []ServiceConfiguration `mandatory:"false" json:"serviceConfigurations"`

	// Identifies if Oracle managed resources will be created by customers.
	// If no value is specified false is the default.
	SelfManageResources *bool `mandatory:"false" json:"selfManageResources"`
}

UpdateConfigurationDetails Parameters to update Cloud Guard configuration details for a tenancy.

func (UpdateConfigurationDetails) String ¶

func (*UpdateConfigurationDetails) UnmarshalJSON ¶ added in v65.64.0

func (m *UpdateConfigurationDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateConfigurationDetails) ValidateEnumValue ¶

func (m UpdateConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateConfigurationRequest ¶

type UpdateConfigurationRequest struct {

	// Updates configuration details of Cloud Guard for a Tenancy.
	UpdateConfigurationDetails `contributesTo:"body"`

	// The OCID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateConfigurationRequest wrapper for the UpdateConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateConfiguration.go.html to see an example of how to use UpdateConfigurationRequest.

func (UpdateConfigurationRequest) BinaryRequestBody ¶

func (request UpdateConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateConfigurationRequest) HTTPRequest ¶

func (request UpdateConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateConfigurationRequest) RetryPolicy ¶

func (request UpdateConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateConfigurationRequest) String ¶

func (request UpdateConfigurationRequest) String() string

func (UpdateConfigurationRequest) ValidateEnumValue ¶

func (request UpdateConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateConfigurationResponse ¶

type UpdateConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Configuration instance
	Configuration `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateConfigurationResponse wrapper for the UpdateConfiguration operation

func (UpdateConfigurationResponse) HTTPResponse ¶

func (response UpdateConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateConfigurationResponse) String ¶

func (response UpdateConfigurationResponse) String() string

type UpdateDataMaskRuleDetails ¶

type UpdateDataMaskRuleDetails struct {

	// Data mask rule display name
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Compartment OCID 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 rule categories
	DataMaskCategories []DataMaskCategoryEnum `mandatory:"false" json:"dataMaskCategories,omitempty"`

	// The status of the data mask rule
	DataMaskRuleStatus DataMaskRuleStatusEnum `mandatory:"false" json:"dataMaskRuleStatus,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateDataMaskRuleDetails The information to be updated for a data mask rule.

func (UpdateDataMaskRuleDetails) String ¶

func (m UpdateDataMaskRuleDetails) String() string

func (*UpdateDataMaskRuleDetails) UnmarshalJSON ¶

func (m *UpdateDataMaskRuleDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDataMaskRuleDetails) ValidateEnumValue ¶

func (m UpdateDataMaskRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDataMaskRuleRequest ¶

type UpdateDataMaskRuleRequest struct {

	// OCID of the data mask rule
	DataMaskRuleId *string `mandatory:"true" contributesTo:"path" name:"dataMaskRuleId"`

	// The data mask rule information to be updated
	UpdateDataMaskRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateDataMaskRuleRequest wrapper for the UpdateDataMaskRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateDataMaskRule.go.html to see an example of how to use UpdateDataMaskRuleRequest.

func (UpdateDataMaskRuleRequest) BinaryRequestBody ¶

func (request UpdateDataMaskRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDataMaskRuleRequest) HTTPRequest ¶

func (request UpdateDataMaskRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDataMaskRuleRequest) RetryPolicy ¶

func (request UpdateDataMaskRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDataMaskRuleRequest) String ¶

func (request UpdateDataMaskRuleRequest) String() string

func (UpdateDataMaskRuleRequest) ValidateEnumValue ¶

func (request UpdateDataMaskRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDataMaskRuleResponse ¶

type UpdateDataMaskRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DataMaskRule instance
	DataMaskRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDataMaskRuleResponse wrapper for the UpdateDataMaskRule operation

func (UpdateDataMaskRuleResponse) HTTPResponse ¶

func (response UpdateDataMaskRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDataMaskRuleResponse) String ¶

func (response UpdateDataMaskRuleResponse) String() string

type UpdateDataSourceDetails ¶ added in v65.17.0

type UpdateDataSourceDetails struct {

	// Display name for data source
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Enablement status of data source
	Status DataSourceStatusEnum `mandatory:"false" json:"status,omitempty"`

	DataSourceDetails DataSourceDetails `mandatory:"false" json:"dataSourceDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateDataSourceDetails Parameters to update a data source.

func (UpdateDataSourceDetails) String ¶ added in v65.17.0

func (m UpdateDataSourceDetails) String() string

func (*UpdateDataSourceDetails) UnmarshalJSON ¶ added in v65.17.0

func (m *UpdateDataSourceDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDataSourceDetails) ValidateEnumValue ¶ added in v65.17.0

func (m UpdateDataSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDataSourceRequest ¶ added in v65.17.0

type UpdateDataSourceRequest struct {

	// Data source OCID.
	DataSourceId *string `mandatory:"true" contributesTo:"path" name:"dataSourceId"`

	// Details for the DataSource resource to be updated
	UpdateDataSourceDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateDataSourceRequest wrapper for the UpdateDataSource operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateDataSource.go.html to see an example of how to use UpdateDataSourceRequest.

func (UpdateDataSourceRequest) BinaryRequestBody ¶ added in v65.17.0

func (request UpdateDataSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDataSourceRequest) HTTPRequest ¶ added in v65.17.0

func (request UpdateDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDataSourceRequest) RetryPolicy ¶ added in v65.17.0

func (request UpdateDataSourceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDataSourceRequest) String ¶ added in v65.17.0

func (request UpdateDataSourceRequest) String() string

func (UpdateDataSourceRequest) ValidateEnumValue ¶ added in v65.17.0

func (request UpdateDataSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDataSourceResponse ¶ added in v65.17.0

type UpdateDataSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDataSourceResponse wrapper for the UpdateDataSource operation

func (UpdateDataSourceResponse) HTTPResponse ¶ added in v65.17.0

func (response UpdateDataSourceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDataSourceResponse) String ¶ added in v65.17.0

func (response UpdateDataSourceResponse) String() string

type UpdateDetectorRecipeDetails ¶

type UpdateDetectorRecipeDetails struct {

	// Display name of detector recipe.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Detector recipe description.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// List of detector rules to update
	DetectorRules []UpdateDetectorRecipeDetectorRule `mandatory:"false" json:"detectorRules"`

	// Simple key-value pair that is applied without any predefined
	// name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateDetectorRecipeDetails Parameters to use to update details for a detector recipe.

func (UpdateDetectorRecipeDetails) String ¶

func (UpdateDetectorRecipeDetails) ValidateEnumValue ¶

func (m UpdateDetectorRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDetectorRecipeDetectorRule ¶

type UpdateDetectorRecipeDetectorRule struct {

	// Detector recipe rule ID
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	Details *UpdateDetectorRuleDetails `mandatory:"true" json:"details"`
}

UpdateDetectorRecipeDetectorRule Parameters to use to update a detector rule.

func (UpdateDetectorRecipeDetectorRule) String ¶

func (UpdateDetectorRecipeDetectorRule) ValidateEnumValue ¶

func (m UpdateDetectorRecipeDetectorRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDetectorRecipeDetectorRuleDetails ¶

type UpdateDetectorRecipeDetectorRuleDetails struct {
	Details *UpdateDetectorRuleDetails `mandatory:"false" json:"details"`
}

UpdateDetectorRecipeDetectorRuleDetails Parameters to use to update details in a detector rule.

func (UpdateDetectorRecipeDetectorRuleDetails) String ¶

func (UpdateDetectorRecipeDetectorRuleDetails) ValidateEnumValue ¶

func (m UpdateDetectorRecipeDetectorRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDetectorRecipeDetectorRuleRequest ¶

type UpdateDetectorRecipeDetectorRuleRequest struct {

	// Detector recipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The unique identifier of a detector rule.
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// The details to be updated for DetectorRule
	UpdateDetectorRecipeDetectorRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateDetectorRecipeDetectorRuleRequest wrapper for the UpdateDetectorRecipeDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateDetectorRecipeDetectorRuleRequest.

func (UpdateDetectorRecipeDetectorRuleRequest) BinaryRequestBody ¶

func (request UpdateDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDetectorRecipeDetectorRuleRequest) HTTPRequest ¶

func (request UpdateDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDetectorRecipeDetectorRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDetectorRecipeDetectorRuleRequest) String ¶

func (UpdateDetectorRecipeDetectorRuleRequest) ValidateEnumValue ¶

func (request UpdateDetectorRecipeDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDetectorRecipeDetectorRuleResponse ¶

type UpdateDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRecipeDetectorRule instance
	DetectorRecipeDetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDetectorRecipeDetectorRuleResponse wrapper for the UpdateDetectorRecipeDetectorRule operation

func (UpdateDetectorRecipeDetectorRuleResponse) HTTPResponse ¶

func (response UpdateDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDetectorRecipeDetectorRuleResponse) String ¶

type UpdateDetectorRecipeRequest ¶

type UpdateDetectorRecipeRequest struct {

	// Detector recipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// Details for the DetectorRecipe to be updated
	UpdateDetectorRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateDetectorRecipeRequest wrapper for the UpdateDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateDetectorRecipe.go.html to see an example of how to use UpdateDetectorRecipeRequest.

func (UpdateDetectorRecipeRequest) BinaryRequestBody ¶

func (request UpdateDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDetectorRecipeRequest) HTTPRequest ¶

func (request UpdateDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDetectorRecipeRequest) RetryPolicy ¶

func (request UpdateDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDetectorRecipeRequest) String ¶

func (request UpdateDetectorRecipeRequest) String() string

func (UpdateDetectorRecipeRequest) ValidateEnumValue ¶

func (request UpdateDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDetectorRecipeResponse ¶

type UpdateDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRecipe instance
	DetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDetectorRecipeResponse wrapper for the UpdateDetectorRecipe operation

func (UpdateDetectorRecipeResponse) HTTPResponse ¶

func (response UpdateDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDetectorRecipeResponse) String ¶

func (response UpdateDetectorRecipeResponse) String() string

type UpdateDetectorRuleDetails ¶

type UpdateDetectorRuleDetails struct {

	// Enablement status of the detector rule
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// The risk level of the detector rule
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// List of detector rule configurations
	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 the detector rule
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for the detector rule
	Recommendation *string `mandatory:"false" json:"recommendation"`

	// The unique identifier of the attached data source
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data source entities mapping for a detector rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`
}

UpdateDetectorRuleDetails Parameters to be updated for a detector rule within a detector recipe.

func (UpdateDetectorRuleDetails) String ¶

func (m UpdateDetectorRuleDetails) String() string

func (*UpdateDetectorRuleDetails) UnmarshalJSON ¶

func (m *UpdateDetectorRuleDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDetectorRuleDetails) ValidateEnumValue ¶

func (m UpdateDetectorRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedListDetails ¶

type UpdateManagedListDetails struct {

	// Managed list display name.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Managed list description.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// List of managed list items
	ListItems []string `mandatory:"false" json:"listItems"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateManagedListDetails Parameters to use to update details for a managed list.

func (UpdateManagedListDetails) String ¶

func (m UpdateManagedListDetails) String() string

func (UpdateManagedListDetails) ValidateEnumValue ¶

func (m UpdateManagedListDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedListRequest ¶

type UpdateManagedListRequest struct {

	// The managed list OCID to be passed in the request.
	ManagedListId *string `mandatory:"true" contributesTo:"path" name:"managedListId"`

	// Details for the ManagedList resource to be updated
	UpdateManagedListDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateManagedListRequest wrapper for the UpdateManagedList operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateManagedList.go.html to see an example of how to use UpdateManagedListRequest.

func (UpdateManagedListRequest) BinaryRequestBody ¶

func (request UpdateManagedListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateManagedListRequest) HTTPRequest ¶

func (request UpdateManagedListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateManagedListRequest) RetryPolicy ¶

func (request UpdateManagedListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateManagedListRequest) String ¶

func (request UpdateManagedListRequest) String() string

func (UpdateManagedListRequest) ValidateEnumValue ¶

func (request UpdateManagedListRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedListResponse ¶

type UpdateManagedListResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedList instance
	ManagedList `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateManagedListResponse wrapper for the UpdateManagedList operation

func (UpdateManagedListResponse) HTTPResponse ¶

func (response UpdateManagedListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateManagedListResponse) String ¶

func (response UpdateManagedListResponse) String() string

type UpdateProblemStatusDetails ¶

type UpdateProblemStatusDetails struct {

	// Action taken by user
	Status ProblemLifecycleDetailEnum `mandatory:"true" json:"status"`

	// User comments
	Comment *string `mandatory:"false" json:"comment"`
}

UpdateProblemStatusDetails The additional details to be updated for the problem.

func (UpdateProblemStatusDetails) String ¶

func (UpdateProblemStatusDetails) ValidateEnumValue ¶

func (m UpdateProblemStatusDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateProblemStatusRequest ¶

type UpdateProblemStatusRequest struct {

	// OCID of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The additional details for the problem
	UpdateProblemStatusDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateProblemStatusRequest wrapper for the UpdateProblemStatus operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateProblemStatus.go.html to see an example of how to use UpdateProblemStatusRequest.

func (UpdateProblemStatusRequest) BinaryRequestBody ¶

func (request UpdateProblemStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateProblemStatusRequest) HTTPRequest ¶

func (request UpdateProblemStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateProblemStatusRequest) RetryPolicy ¶

func (request UpdateProblemStatusRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateProblemStatusRequest) String ¶

func (request UpdateProblemStatusRequest) String() string

func (UpdateProblemStatusRequest) ValidateEnumValue ¶

func (request UpdateProblemStatusRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateProblemStatusResponse ¶

type UpdateProblemStatusResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Problem instance
	Problem `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateProblemStatusResponse wrapper for the UpdateProblemStatus operation

func (UpdateProblemStatusResponse) HTTPResponse ¶

func (response UpdateProblemStatusResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateProblemStatusResponse) String ¶

func (response UpdateProblemStatusResponse) String() string

type UpdateResponderRecipeDetails ¶

type UpdateResponderRecipeDetails struct {

	// Responder recipe display name.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Responder recipe description
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// List of responder rules to update
	ResponderRules []UpdateResponderRecipeResponderRule `mandatory:"false" json:"responderRules"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateResponderRecipeDetails Parameters to use to update a responder recipe.

func (UpdateResponderRecipeDetails) String ¶

func (UpdateResponderRecipeDetails) ValidateEnumValue ¶

func (m UpdateResponderRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResponderRecipeRequest ¶

type UpdateResponderRecipeRequest struct {

	// OCID of the responder recipe.
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The details to be updated
	UpdateResponderRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateResponderRecipeRequest wrapper for the UpdateResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateResponderRecipe.go.html to see an example of how to use UpdateResponderRecipeRequest.

func (UpdateResponderRecipeRequest) BinaryRequestBody ¶

func (request UpdateResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateResponderRecipeRequest) HTTPRequest ¶

func (request UpdateResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateResponderRecipeRequest) RetryPolicy ¶

func (request UpdateResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateResponderRecipeRequest) String ¶

func (request UpdateResponderRecipeRequest) String() string

func (UpdateResponderRecipeRequest) ValidateEnumValue ¶

func (request UpdateResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResponderRecipeResponderRule ¶

type UpdateResponderRecipeResponderRule struct {

	// Unique identifier for the responder rule
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	Details *UpdateResponderRuleDetails `mandatory:"true" json:"details"`
}

UpdateResponderRecipeResponderRule Parameters to use to update a responder recipe responder rule.

func (UpdateResponderRecipeResponderRule) String ¶

func (UpdateResponderRecipeResponderRule) ValidateEnumValue ¶

func (m UpdateResponderRecipeResponderRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResponderRecipeResponderRuleDetails ¶

type UpdateResponderRecipeResponderRuleDetails struct {
	Details *UpdateResponderRuleDetails `mandatory:"true" json:"details"`
}

UpdateResponderRecipeResponderRuleDetails Parameters to use to update a responder rule within a responder recipe.

func (UpdateResponderRecipeResponderRuleDetails) String ¶

func (UpdateResponderRecipeResponderRuleDetails) ValidateEnumValue ¶

func (m UpdateResponderRecipeResponderRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResponderRecipeResponderRuleRequest ¶

type UpdateResponderRecipeResponderRuleRequest struct {

	// OCID of the responder recipe.
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// Unique identifier of the responder rule.
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The details to be updated for responder rule
	UpdateResponderRecipeResponderRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateResponderRecipeResponderRuleRequest wrapper for the UpdateResponderRecipeResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateResponderRecipeResponderRule.go.html to see an example of how to use UpdateResponderRecipeResponderRuleRequest.

func (UpdateResponderRecipeResponderRuleRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateResponderRecipeResponderRuleRequest) HTTPRequest ¶

func (request UpdateResponderRecipeResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateResponderRecipeResponderRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateResponderRecipeResponderRuleRequest) String ¶

func (UpdateResponderRecipeResponderRuleRequest) ValidateEnumValue ¶

func (request UpdateResponderRecipeResponderRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResponderRecipeResponderRuleResponse ¶

type UpdateResponderRecipeResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRecipeResponderRule instance
	ResponderRecipeResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateResponderRecipeResponderRuleResponse wrapper for the UpdateResponderRecipeResponderRule operation

func (UpdateResponderRecipeResponderRuleResponse) HTTPResponse ¶

func (response UpdateResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateResponderRecipeResponderRuleResponse) String ¶

type UpdateResponderRecipeResponse ¶

type UpdateResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRecipe instance
	ResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateResponderRecipeResponse wrapper for the UpdateResponderRecipe operation

func (UpdateResponderRecipeResponse) HTTPResponse ¶

func (response UpdateResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateResponderRecipeResponse) String ¶

func (response UpdateResponderRecipeResponse) String() string

type UpdateResponderRuleDetails ¶

type UpdateResponderRuleDetails struct {

	// Enablement state for the responder rule
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`
}

UpdateResponderRuleDetails Parameters to be updated for a responder rule within a responder recipe.

func (UpdateResponderRuleDetails) String ¶

func (UpdateResponderRuleDetails) ValidateEnumValue ¶

func (m UpdateResponderRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSavedQueryDetails ¶ added in v65.64.0

type UpdateSavedQueryDetails struct {

	// Display name of the saved query
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description of the saved query
	Description *string `mandatory:"false" json:"description"`

	// The saved query expression
	Query *string `mandatory:"false" json:"query"`

	// 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"`
}

UpdateSavedQueryDetails Details of saved query to be updated

func (UpdateSavedQueryDetails) String ¶ added in v65.64.0

func (m UpdateSavedQueryDetails) String() string

func (UpdateSavedQueryDetails) ValidateEnumValue ¶ added in v65.64.0

func (m UpdateSavedQueryDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSavedQueryRequest ¶ added in v65.64.0

type UpdateSavedQueryRequest struct {

	// Saved query OCID
	SavedQueryId *string `mandatory:"true" contributesTo:"path" name:"savedQueryId"`

	// Details for the SavedQuery resource to be updated
	UpdateSavedQueryDetails `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
}

UpdateSavedQueryRequest wrapper for the UpdateSavedQuery operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateSavedQuery.go.html to see an example of how to use UpdateSavedQueryRequest.

func (UpdateSavedQueryRequest) BinaryRequestBody ¶ added in v65.64.0

func (request UpdateSavedQueryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSavedQueryRequest) HTTPRequest ¶ added in v65.64.0

func (request UpdateSavedQueryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSavedQueryRequest) RetryPolicy ¶ added in v65.64.0

func (request UpdateSavedQueryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSavedQueryRequest) String ¶ added in v65.64.0

func (request UpdateSavedQueryRequest) String() string

func (UpdateSavedQueryRequest) ValidateEnumValue ¶ added in v65.64.0

func (request UpdateSavedQueryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSavedQueryResponse ¶ added in v65.64.0

type UpdateSavedQueryResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SavedQuery instance
	SavedQuery `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"`
}

UpdateSavedQueryResponse wrapper for the UpdateSavedQuery operation

func (UpdateSavedQueryResponse) HTTPResponse ¶ added in v65.64.0

func (response UpdateSavedQueryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSavedQueryResponse) String ¶ added in v65.64.0

func (response UpdateSavedQueryResponse) String() string

type UpdateSecurityPolicyDetails ¶ added in v65.3.0

type UpdateSecurityPolicyDetails struct {

	// Dis;lay name for the security policy
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateSecurityPolicyDetails Parameters to be used to update a security policy.

func (UpdateSecurityPolicyDetails) String ¶ added in v65.3.0

func (UpdateSecurityPolicyDetails) ValidateEnumValue ¶ added in v65.3.0

func (m UpdateSecurityPolicyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSecurityRecipeDetails ¶ added in v65.3.0

type UpdateSecurityRecipeDetails struct {

	// The recipe's display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The recipe's description
	Description *string `mandatory:"false" json:"description"`

	// The list of security policy IDs to include in the recipe
	SecurityPolicies []string `mandatory:"false" json:"securityPolicies"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateSecurityRecipeDetails Parameters to be used to update a Security Zones security recipe.

func (UpdateSecurityRecipeDetails) String ¶ added in v65.3.0

func (UpdateSecurityRecipeDetails) ValidateEnumValue ¶ added in v65.3.0

func (m UpdateSecurityRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSecurityRecipeRequest ¶ added in v65.3.0

type UpdateSecurityRecipeRequest struct {

	// The unique identifier of the security zone recipe. (`SecurityRecipe`)
	SecurityRecipeId *string `mandatory:"true" contributesTo:"path" name:"securityRecipeId"`

	// The information to be updated in the security zone recipe
	UpdateSecurityRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateSecurityRecipeRequest wrapper for the UpdateSecurityRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateSecurityRecipe.go.html to see an example of how to use UpdateSecurityRecipeRequest.

func (UpdateSecurityRecipeRequest) BinaryRequestBody ¶ added in v65.3.0

func (request UpdateSecurityRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSecurityRecipeRequest) HTTPRequest ¶ added in v65.3.0

func (request UpdateSecurityRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSecurityRecipeRequest) RetryPolicy ¶ added in v65.3.0

func (request UpdateSecurityRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSecurityRecipeRequest) String ¶ added in v65.3.0

func (request UpdateSecurityRecipeRequest) String() string

func (UpdateSecurityRecipeRequest) ValidateEnumValue ¶ added in v65.3.0

func (request UpdateSecurityRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSecurityRecipeResponse ¶ added in v65.3.0

type UpdateSecurityRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityRecipe instance
	SecurityRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateSecurityRecipeResponse wrapper for the UpdateSecurityRecipe operation

func (UpdateSecurityRecipeResponse) HTTPResponse ¶ added in v65.3.0

func (response UpdateSecurityRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSecurityRecipeResponse) String ¶ added in v65.3.0

func (response UpdateSecurityRecipeResponse) String() string

type UpdateSecurityZoneDetails ¶ added in v65.3.0

type UpdateSecurityZoneDetails struct {

	// The security zone's display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The security zone's description
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the security recipe (`SecurityRecipe` resource) for the security zone
	SecurityZoneRecipeId *string `mandatory:"false" json:"securityZoneRecipeId"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateSecurityZoneDetails Parameters to be used to update a security zone.

func (UpdateSecurityZoneDetails) String ¶ added in v65.3.0

func (m UpdateSecurityZoneDetails) String() string

func (UpdateSecurityZoneDetails) ValidateEnumValue ¶ added in v65.3.0

func (m UpdateSecurityZoneDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSecurityZoneRequest ¶ added in v65.3.0

type UpdateSecurityZoneRequest struct {

	// The unique identifier of the security zone (`SecurityZone` resource).
	SecurityZoneId *string `mandatory:"true" contributesTo:"path" name:"securityZoneId"`

	// The security zone information to be updated
	UpdateSecurityZoneDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateSecurityZoneRequest wrapper for the UpdateSecurityZone operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateSecurityZone.go.html to see an example of how to use UpdateSecurityZoneRequest.

func (UpdateSecurityZoneRequest) BinaryRequestBody ¶ added in v65.3.0

func (request UpdateSecurityZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSecurityZoneRequest) HTTPRequest ¶ added in v65.3.0

func (request UpdateSecurityZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSecurityZoneRequest) RetryPolicy ¶ added in v65.3.0

func (request UpdateSecurityZoneRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSecurityZoneRequest) String ¶ added in v65.3.0

func (request UpdateSecurityZoneRequest) String() string

func (UpdateSecurityZoneRequest) ValidateEnumValue ¶ added in v65.3.0

func (request UpdateSecurityZoneRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSecurityZoneResponse ¶ added in v65.3.0

type UpdateSecurityZoneResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityZone instance
	SecurityZone `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateSecurityZoneResponse wrapper for the UpdateSecurityZone operation

func (UpdateSecurityZoneResponse) HTTPResponse ¶ added in v65.3.0

func (response UpdateSecurityZoneResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSecurityZoneResponse) String ¶ added in v65.3.0

func (response UpdateSecurityZoneResponse) String() string

type UpdateTargetDetails ¶

type UpdateTargetDetails struct {

	// Display name of a target.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The current lifecycle state of the Target.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The details of target detector recipes to be updated
	TargetDetectorRecipes []UpdateTargetDetectorRecipe `mandatory:"false" json:"targetDetectorRecipes"`

	// The details of target responder recipes to be updated
	TargetResponderRecipes []UpdateTargetResponderRecipe `mandatory:"false" json:"targetResponderRecipes"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateTargetDetails The target information to be updated.

func (UpdateTargetDetails) String ¶

func (m UpdateTargetDetails) String() string

func (UpdateTargetDetails) ValidateEnumValue ¶

func (m UpdateTargetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDetectorRecipe ¶

type UpdateTargetDetectorRecipe struct {

	// Unique identifier for target detector recipe
	TargetDetectorRecipeId *string `mandatory:"true" json:"targetDetectorRecipeId"`

	// Updates to be applied to detector rules in target detector recipe
	DetectorRules []UpdateTargetRecipeDetectorRuleDetails `mandatory:"true" json:"detectorRules"`
}

UpdateTargetDetectorRecipe Parameters to update a detector recipe attached to a target.

func (UpdateTargetDetectorRecipe) String ¶

func (UpdateTargetDetectorRecipe) ValidateEnumValue ¶

func (m UpdateTargetDetectorRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDetectorRecipeDetails ¶

type UpdateTargetDetectorRecipeDetails struct {

	// Unique identifier for the target detector recipe
	DetectorRecipeId *string `mandatory:"false" json:"detectorRecipeId"`

	// Is validation to be performed for attaching the detector recipe?
	IsValidationOnlyQuery *bool `mandatory:"false" json:"isValidationOnlyQuery"`

	// List of updates to be applied to detector rules in target detector recipe
	DetectorRules []UpdateTargetRecipeDetectorRuleDetails `mandatory:"false" json:"detectorRules"`
}

UpdateTargetDetectorRecipeDetails Parameters to be used to update a target detector recipe.

func (UpdateTargetDetectorRecipeDetails) String ¶

func (UpdateTargetDetectorRecipeDetails) ValidateEnumValue ¶

func (m UpdateTargetDetectorRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDetectorRecipeDetectorRuleDetails ¶

type UpdateTargetDetectorRecipeDetectorRuleDetails struct {
	Details *UpdateTargetDetectorRuleDetails `mandatory:"true" json:"details"`
}

UpdateTargetDetectorRecipeDetectorRuleDetails Parameters to use to update a detector rule in a detector recipe attached to a target.

func (UpdateTargetDetectorRecipeDetectorRuleDetails) String ¶

func (UpdateTargetDetectorRecipeDetectorRuleDetails) ValidateEnumValue ¶

func (m UpdateTargetDetectorRecipeDetectorRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDetectorRecipeDetectorRuleRequest ¶

type UpdateTargetDetectorRecipeDetectorRuleRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of the target detector recipe.
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The unique identifier of the detector rule.
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// The details to be updated for the detector rule
	UpdateTargetDetectorRecipeDetectorRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetDetectorRecipeDetectorRuleRequest wrapper for the UpdateTargetDetectorRecipeDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateTargetDetectorRecipeDetectorRuleRequest.

func (UpdateTargetDetectorRecipeDetectorRuleRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetDetectorRecipeDetectorRuleRequest) HTTPRequest ¶

func (request UpdateTargetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetDetectorRecipeDetectorRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetDetectorRecipeDetectorRuleRequest) String ¶

func (UpdateTargetDetectorRecipeDetectorRuleRequest) ValidateEnumValue ¶

func (request UpdateTargetDetectorRecipeDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDetectorRecipeDetectorRuleResponse ¶

type UpdateTargetDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipeDetectorRule instance
	TargetDetectorRecipeDetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetDetectorRecipeDetectorRuleResponse wrapper for the UpdateTargetDetectorRecipeDetectorRule operation

func (UpdateTargetDetectorRecipeDetectorRuleResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (UpdateTargetDetectorRecipeDetectorRuleResponse) String ¶

type UpdateTargetDetectorRecipeRequest ¶

type UpdateTargetDetectorRecipeRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of the target detector recipe.
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The details to be updated
	UpdateTargetDetectorRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetDetectorRecipeRequest wrapper for the UpdateTargetDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetDetectorRecipe.go.html to see an example of how to use UpdateTargetDetectorRecipeRequest.

func (UpdateTargetDetectorRecipeRequest) BinaryRequestBody ¶

func (request UpdateTargetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetDetectorRecipeRequest) HTTPRequest ¶

func (request UpdateTargetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetDetectorRecipeRequest) RetryPolicy ¶

func (request UpdateTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetDetectorRecipeRequest) String ¶

func (request UpdateTargetDetectorRecipeRequest) String() string

func (UpdateTargetDetectorRecipeRequest) ValidateEnumValue ¶

func (request UpdateTargetDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDetectorRecipeResponse ¶

type UpdateTargetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipe instance
	TargetDetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetDetectorRecipeResponse wrapper for the UpdateTargetDetectorRecipe operation

func (UpdateTargetDetectorRecipeResponse) HTTPResponse ¶

func (response UpdateTargetDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTargetDetectorRecipeResponse) String ¶

func (response UpdateTargetDetectorRecipeResponse) String() string

type UpdateTargetDetectorRuleDetails ¶

type UpdateTargetDetectorRuleDetails struct {

	// Condition group corresponding to each compartment
	ConditionGroups []ConditionGroup `mandatory:"false" json:"conditionGroups"`
}

UpdateTargetDetectorRuleDetails Parameters to update detector rule configuration details in a detector recipe attached to a target.

func (UpdateTargetDetectorRuleDetails) String ¶

func (UpdateTargetDetectorRuleDetails) ValidateEnumValue ¶

func (m UpdateTargetDetectorRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetRecipeDetectorRuleDetails ¶

type UpdateTargetRecipeDetectorRuleDetails struct {

	// Unique identifier for the detector rule
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	Details *UpdateTargetDetectorRuleDetails `mandatory:"true" json:"details"`
}

UpdateTargetRecipeDetectorRuleDetails Parameters to be used to update a detector rule in a target detector recipe.

func (UpdateTargetRecipeDetectorRuleDetails) String ¶

func (UpdateTargetRecipeDetectorRuleDetails) ValidateEnumValue ¶

func (m UpdateTargetRecipeDetectorRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetRecipeResponderRuleDetails ¶

type UpdateTargetRecipeResponderRuleDetails struct {

	// Unique identifier for target detector recipe
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	Details *UpdateTargetResponderRuleDetails `mandatory:"true" json:"details"`
}

UpdateTargetRecipeResponderRuleDetails Parameters to update the configuration details of a target detector recipe.

func (UpdateTargetRecipeResponderRuleDetails) String ¶

func (UpdateTargetRecipeResponderRuleDetails) ValidateEnumValue ¶

func (m UpdateTargetRecipeResponderRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetRequest ¶

type UpdateTargetRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// The information to be updated
	UpdateTargetDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetRequest wrapper for the UpdateTarget operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTarget.go.html to see an example of how to use UpdateTargetRequest.

func (UpdateTargetRequest) BinaryRequestBody ¶

func (request UpdateTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetRequest) HTTPRequest ¶

func (request UpdateTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetRequest) RetryPolicy ¶

func (request UpdateTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetRequest) String ¶

func (request UpdateTargetRequest) String() string

func (UpdateTargetRequest) ValidateEnumValue ¶

func (request UpdateTargetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponderRecipe ¶

type UpdateTargetResponderRecipe struct {

	// Unique identifier for the target responder recipe
	TargetResponderRecipeId *string `mandatory:"true" json:"targetResponderRecipeId"`

	// List of responder rules to be updated in the target responder recipe
	ResponderRules []UpdateTargetRecipeResponderRuleDetails `mandatory:"true" json:"responderRules"`
}

UpdateTargetResponderRecipe Parameters to update a responder recipe attached to a target

func (UpdateTargetResponderRecipe) String ¶

func (UpdateTargetResponderRecipe) ValidateEnumValue ¶

func (m UpdateTargetResponderRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponderRecipeDetails ¶

type UpdateTargetResponderRecipeDetails struct {

	// List of responder rules to be updated in a target responder recipe.
	ResponderRules []UpdateTargetRecipeResponderRuleDetails `mandatory:"true" json:"responderRules"`
}

UpdateTargetResponderRecipeDetails Parameters to update a responder recipe attached to a target. UpdateTargetResponderRecipe contains the responder rules to be updated that are associated with a responder recipe in a target. whereas UpdateTargetResponderRecipeDetails refers to the information to be updated in ResponderRecipe.

func (UpdateTargetResponderRecipeDetails) String ¶

func (UpdateTargetResponderRecipeDetails) ValidateEnumValue ¶

func (m UpdateTargetResponderRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponderRecipeRequest ¶

type UpdateTargetResponderRecipeRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of the target responder recipe.
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The details to be updated
	UpdateTargetResponderRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetResponderRecipeRequest wrapper for the UpdateTargetResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetResponderRecipe.go.html to see an example of how to use UpdateTargetResponderRecipeRequest.

func (UpdateTargetResponderRecipeRequest) BinaryRequestBody ¶

func (request UpdateTargetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetResponderRecipeRequest) HTTPRequest ¶

func (request UpdateTargetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetResponderRecipeRequest) RetryPolicy ¶

func (request UpdateTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetResponderRecipeRequest) String ¶

func (request UpdateTargetResponderRecipeRequest) String() string

func (UpdateTargetResponderRecipeRequest) ValidateEnumValue ¶

func (request UpdateTargetResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponderRecipeResponderRuleDetails ¶

type UpdateTargetResponderRecipeResponderRuleDetails struct {
	Details *UpdateTargetResponderRuleDetails `mandatory:"true" json:"details"`
}

UpdateTargetResponderRecipeResponderRuleDetails Parameters to update a responder rule for a responder recipe attached to a target.

func (UpdateTargetResponderRecipeResponderRuleDetails) String ¶

func (UpdateTargetResponderRecipeResponderRuleDetails) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponderRecipeResponderRuleRequest ¶

type UpdateTargetResponderRecipeResponderRuleRequest struct {

	// OCID of the target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of the target responder recipe.
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// Unique identifier of the responder rule.
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The details to be updated for the ResponderRule resource.
	UpdateTargetResponderRecipeResponderRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetResponderRecipeResponderRuleRequest wrapper for the UpdateTargetResponderRecipeResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetResponderRecipeResponderRule.go.html to see an example of how to use UpdateTargetResponderRecipeResponderRuleRequest.

func (UpdateTargetResponderRecipeResponderRuleRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetResponderRecipeResponderRuleRequest) HTTPRequest ¶

func (request UpdateTargetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetResponderRecipeResponderRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetResponderRecipeResponderRuleRequest) String ¶

func (UpdateTargetResponderRecipeResponderRuleRequest) ValidateEnumValue ¶

func (request UpdateTargetResponderRecipeResponderRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponderRecipeResponderRuleResponse ¶

type UpdateTargetResponderRecipeResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipeResponderRule instance
	TargetResponderRecipeResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetResponderRecipeResponderRuleResponse wrapper for the UpdateTargetResponderRecipeResponderRule operation

func (UpdateTargetResponderRecipeResponderRuleResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (UpdateTargetResponderRecipeResponderRuleResponse) String ¶

type UpdateTargetResponderRecipeResponse ¶

type UpdateTargetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipe instance
	TargetResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetResponderRecipeResponse wrapper for the UpdateTargetResponderRecipe operation

func (UpdateTargetResponderRecipeResponse) HTTPResponse ¶

func (response UpdateTargetResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTargetResponderRecipeResponse) String ¶

func (response UpdateTargetResponderRecipeResponse) String() string

type UpdateTargetResponderRuleDetails ¶

type UpdateTargetResponderRuleDetails struct {
	Condition Condition `mandatory:"false" json:"condition"`

	// List of responder rule configurations
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`

	// Execution mode for the responder rule
	Mode ResponderModeTypesEnum `mandatory:"false" json:"mode,omitempty"`
}

UpdateTargetResponderRuleDetails Parameters to update details for a responder rule for a target responder recipe. TargetResponderRuleDetails contains all configurations associated with the ResponderRule, whereas UpdateTargetResponderRecipeResponderRuleDetails refers to the details that are to be updated for ResponderRule.

func (UpdateTargetResponderRuleDetails) String ¶

func (*UpdateTargetResponderRuleDetails) UnmarshalJSON ¶

func (m *UpdateTargetResponderRuleDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateTargetResponderRuleDetails) ValidateEnumValue ¶

func (m UpdateTargetResponderRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponse ¶

type UpdateTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Target instance
	Target `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetResponse wrapper for the UpdateTarget operation

func (UpdateTargetResponse) HTTPResponse ¶

func (response UpdateTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTargetResponse) String ¶

func (response UpdateTargetResponse) String() string

type UpdateWlpAgentDetails ¶ added in v65.64.0

type UpdateWlpAgentDetails struct {

	// The updated certificate signing request
	CertificateSignedRequest *string `mandatory:"true" json:"certificateSignedRequest"`

	// 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"`
}

UpdateWlpAgentDetails On-premise resource agent update or renew certificate response resource. Example: `{"certificateSignedRequest": "MIIGwjCCBaqgAwIBAgIVAK8hJCS/5Hu0dEMQ2ud"}`

func (UpdateWlpAgentDetails) String ¶ added in v65.64.0

func (m UpdateWlpAgentDetails) String() string

func (UpdateWlpAgentDetails) ValidateEnumValue ¶ added in v65.64.0

func (m UpdateWlpAgentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateWlpAgentRequest ¶ added in v65.64.0

type UpdateWlpAgentRequest struct {

	// WLP agent OCID.
	WlpAgentId *string `mandatory:"true" contributesTo:"path" name:"wlpAgentId"`

	// Details for the WlpAgent resource to be updated
	UpdateWlpAgentDetails `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
}

UpdateWlpAgentRequest wrapper for the UpdateWlpAgent operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateWlpAgent.go.html to see an example of how to use UpdateWlpAgentRequest.

func (UpdateWlpAgentRequest) BinaryRequestBody ¶ added in v65.64.0

func (request UpdateWlpAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateWlpAgentRequest) HTTPRequest ¶ added in v65.64.0

func (request UpdateWlpAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateWlpAgentRequest) RetryPolicy ¶ added in v65.64.0

func (request UpdateWlpAgentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateWlpAgentRequest) String ¶ added in v65.64.0

func (request UpdateWlpAgentRequest) String() string

func (UpdateWlpAgentRequest) ValidateEnumValue ¶ added in v65.64.0

func (request UpdateWlpAgentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateWlpAgentResponse ¶ added in v65.64.0

type UpdateWlpAgentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WlpAgent instance
	WlpAgent `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"`
}

UpdateWlpAgentResponse wrapper for the UpdateWlpAgent operation

func (UpdateWlpAgentResponse) HTTPResponse ¶ added in v65.64.0

func (response UpdateWlpAgentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateWlpAgentResponse) String ¶ added in v65.64.0

func (response UpdateWlpAgentResponse) String() string

type WlpAgent ¶ added in v65.64.0

type WlpAgent struct {

	// OCID for WlpAgent
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID of WlpAgent.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The version of the agent
	AgentVersion *string `mandatory:"true" json:"agentVersion"`

	// The certificate ID returned by OCI certificates service
	CertificateId *string `mandatory:"true" json:"certificateId"`

	// OCID for instance in which WlpAgent is installed
	HostId *string `mandatory:"false" json:"hostId"`

	// TenantId of the host
	TenantId *string `mandatory:"false" json:"tenantId"`

	// The updated certificate signing request
	CertificateSignedRequest *string `mandatory:"false" json:"certificateSignedRequest"`

	// The date and time the WlpAgent was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the WlpAgent was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`

	// 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"`
}

WlpAgent Details of WLP agent. Example: `{"id": "ocid1.wlpagent.oc1..exampleawwcufihrc62gpbcvbjizswgoj4w7rg5q4fwbg",

"compartmentId": "ocid1.compartment.oc1..exampleawwcufihrc62gpbcvbjizswgoj4w7rg5q4fwbg2fauxvlcxbtliaa",
"agentVersion": "1.0.11",
"certificateId": "ocid1.certificate.oc1..exampleawwcufihrc62gpbcvbjizswgoj4w7oj4w7rg5q4fwbg2fauxv"
"certificateSignedRequest": "MIIGwjCCBaqgAwIBAgIVAK8hJCS/5Hu0dEMQ2ud"}`

func (WlpAgent) String ¶ added in v65.64.0

func (m WlpAgent) String() string

func (WlpAgent) ValidateEnumValue ¶ added in v65.64.0

func (m WlpAgent) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WlpAgentCollection ¶ added in v65.64.0

type WlpAgentCollection struct {

	// List of WLP agents
	Items []WlpAgentSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

WlpAgentCollection Collection of WLP agents

func (WlpAgentCollection) String ¶ added in v65.64.0

func (m WlpAgentCollection) String() string

func (WlpAgentCollection) ValidateEnumValue ¶ added in v65.64.0

func (m WlpAgentCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WlpAgentSummary ¶ added in v65.64.0

type WlpAgentSummary struct {

	// OCID for WlpAgent
	Id *string `mandatory:"true" json:"id"`

	// Compartment OCID of WlpAgent
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The version of the agent
	AgentVersion *string `mandatory:"true" json:"agentVersion"`

	// The certificate ID returned by OCI certificates service
	CertificateId *string `mandatory:"true" json:"certificateId"`

	// OCID for instance in which WlpAgent is installed
	HostId *string `mandatory:"false" json:"hostId"`

	// Tenant ID of the host
	TenantId *string `mandatory:"false" json:"tenantId"`

	// The date and time the WLP agent was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the WLP agent was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// 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"`
}

WlpAgentSummary WLP agent resource running on an on-premise resource. Example: `{"id": "ocid1.wlpagent.oc1..exampleawwcufihrc62gpbcvbjizswgoj4w7rg5q4fwbg",

"compartmentId": "ocid1.compartment.oc1..exampleawwcufihrc62gpbcvbjizswgoj4w7rg5q4fwbg2fauxvlcxbtliaa",
"agentVersion": "1.0.11",
"certificateId": "ocid1.certificate.oc1..exampleawwcufihrc62gpbcvbjizswgoj4w7oj4w7rg5q4fwbg2fauxv"}`

func (WlpAgentSummary) String ¶ added in v65.64.0

func (m WlpAgentSummary) String() string

func (WlpAgentSummary) ValidateEnumValue ¶ added in v65.64.0

func (m WlpAgentSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequest ¶ added in v65.17.0

type WorkRequest struct {

	// Unique identifier 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"`

	// List of resources affected by the work request
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of the work request that's completed
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the work request was created
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the work request was started
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the work request was finished
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

WorkRequest Detailed information about a work request (WorkRequest resource).

func (WorkRequest) String ¶ added in v65.17.0

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError ¶ added in v65.17.0

type WorkRequestError struct {

	// A machine-usable code for the error that occured. Error codes are listed on
	// (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).
	Code *string `mandatory:"true" json:"code"`

	// A human readable description of the issue encountered
	Message *string `mandatory:"true" json:"message"`

	// The time the error occured
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError Summary information for an error (WorkRequestError resource) encountered while executing a work request

func (WorkRequestError) String ¶ added in v65.17.0

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection ¶ added in v65.17.0

type WorkRequestErrorCollection struct {

	// List of workRequestError resources
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection The collection of work request error resources. These result from a workRequestError search. Contains WorkRequestError items and other information, such as metadata.

func (WorkRequestErrorCollection) String ¶ added in v65.17.0

func (WorkRequestErrorCollection) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry ¶ added in v65.17.0

type WorkRequestLogEntry struct {

	// A human-readable log message
	Message *string `mandatory:"true" json:"message"`

	// The time the log message was written
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry A log message from the execution of a work request.

func (WorkRequestLogEntry) String ¶ added in v65.17.0

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection ¶ added in v65.17.0

type WorkRequestLogEntryCollection struct {

	// List of workRequestLogEntry resources
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

WorkRequestLogEntryCollection The collection of work request log entries. These result from a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.

func (WorkRequestLogEntryCollection) String ¶ added in v65.17.0

func (WorkRequestLogEntryCollection) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource ¶ added in v65.17.0

type WorkRequestResource struct {

	// The resource type the work request affects
	EntityType *string `mandatory:"true" json:"entityType"`

	// The way in which this resource is affected by the work tracked in the work request.
	// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
	// work is complete for that resource at which point it will transition to CREATED, UPDATED,
	// or DELETED, respectively.
	ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

	// The identifier of the resource that the work request affects
	Identifier *string `mandatory:"true" json:"identifier"`

	// The URI path that the user can do a GET on to access the resource metadata
	EntityUri *string `mandatory:"false" json:"entityUri"`

	// Additional information that helps to explain the resource
	Metadata map[string]string `mandatory:"false" json:"metadata"`
}

WorkRequestResource Parameters of a work request resource, which is created or operated on by a work request.

func (WorkRequestResource) String ¶ added in v65.17.0

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResourceMetadataKeyEnum ¶ added in v65.17.0

type WorkRequestResourceMetadataKeyEnum string

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

const (
	WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum ¶ added in v65.17.0

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceMetadataKeyEnumValues ¶ added in v65.17.0

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary ¶ added in v65.17.0

type WorkRequestSummary struct {

	// Type of the work request
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// Status of current work request
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// Unique identifier 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"`

	// List of resources affected by this work request
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of work 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 request was finished
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequestSummary Summary information about a work request.

func (WorkRequestSummary) String ¶ added in v65.17.0

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryCollection ¶ added in v65.17.0

type WorkRequestSummaryCollection struct {

	// List of workRequestSummary resources
	Items []WorkRequestSummary `mandatory:"true" json:"items"`

	// Locks associated with this resource.
	Locks []ResourceLock `mandatory:"false" json:"locks"`
}

WorkRequestSummaryCollection Collection of work request summaries.

func (WorkRequestSummaryCollection) String ¶ added in v65.17.0

func (WorkRequestSummaryCollection) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL