From 618a30010644aec5ef16b3c5ea29541f834b32cd Mon Sep 17 00:00:00 2001 From: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> Date: Fri, 16 Jul 2021 19:00:59 +0800 Subject: [PATCH] Bump azure-sdk to 55.6 (#12565) Co-authored-by: xuzhang3 --- go.mod | 2 +- go.sum | 4 +- .../Azure/azure-sdk-for-go/NOTICE.txt | 29 + .../security/mgmt/v3.0/security/CHANGELOG.md | 566 +----------------- .../security/mgmt/v3.0/security/_meta.json | 2 +- .../security/mgmt/v3.0/security/enums.go | 46 +- .../security/mgmt/v3.0/security/models.go | 175 +++++- .../security/mgmt/v3.0/security/settings.go | 10 +- .../Azure/azure-sdk-for-go/version/version.go | 2 +- vendor/modules.txt | 2 +- 10 files changed, 257 insertions(+), 581 deletions(-) create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/NOTICE.txt diff --git a/go.mod b/go.mod index c6cddb8f1e66..820bfc9c4bb3 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/terraform-providers/terraform-provider-azurerm require ( cloud.google.com/go/storage v1.16.0 // indirect - github.com/Azure/azure-sdk-for-go v55.5.0+incompatible + github.com/Azure/azure-sdk-for-go v55.6.0+incompatible github.com/Azure/go-autorest/autorest v0.11.19 github.com/Azure/go-autorest/autorest/adal v0.9.14 // indirect github.com/Azure/go-autorest/autorest/date v0.3.0 diff --git a/go.sum b/go.sum index 387debad2c79..24cdb5e11abe 100644 --- a/go.sum +++ b/go.sum @@ -45,8 +45,8 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7 github.com/Azure/azure-sdk-for-go v45.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v47.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v51.2.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v55.5.0+incompatible h1:GToUAq2Qdrh6g2ITPXx95zQ2DGMFSIatf9QwFplUTmk= -github.com/Azure/azure-sdk-for-go v55.5.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v55.6.0+incompatible h1:SDeTdsn7/wiCDVLiKR1VFDCPURKKEg59bP7ewi7kUJc= +github.com/Azure/azure-sdk-for-go v55.6.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.11.3/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= diff --git a/vendor/github.com/Azure/azure-sdk-for-go/NOTICE.txt b/vendor/github.com/Azure/azure-sdk-for-go/NOTICE.txt new file mode 100644 index 000000000000..a338672ec53b --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/NOTICE.txt @@ -0,0 +1,29 @@ +NOTICES AND INFORMATION +Do Not Translate or Localize + +This software incorporates material from third parties. Microsoft makes certain +open source code available at https://3rdpartysource.microsoft.com, or you may +send a check or money order for US $5.00, including the product name, the open +source component name, and version number, to: + +Source Code Compliance Team +Microsoft Corporation +One Microsoft Way +Redmond, WA 98052 +USA + +Notwithstanding any other terms, you may reverse engineer this software to the +extent required to debug changes to any libraries licensed under the GNU Lesser +General Public License. + +------------------------------------------------------------------------------ + +Azure SDK for Go uses third-party libraries or other resources that may be +distributed under licenses different than the Azure SDK for Go software. + +In the event that we accidentally failed to list a required notice, please +bring it to our attention. Post an issue or email us: + + azgosdkhelp@microsoft.com + +The attached notices are provided for information only. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/CHANGELOG.md index aa3fea66c4aa..3cdf6e8ad004 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/CHANGELOG.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/CHANGELOG.md @@ -2,561 +2,57 @@ ## Breaking Changes -### Removed Constants - -1. EnforcementMode.Audit -1. EnforcementMode.Enforce -1. EventSource.Assessments -1. EventSource.SecureScoreControls -1. EventSource.SecureScores -1. EventSource.SubAssessments - -### Removed Funcs - -1. *IotAlert.UnmarshalJSON([]byte) error -1. *IotAlertListIterator.Next() error -1. *IotAlertListIterator.NextWithContext(context.Context) error -1. *IotAlertListPage.Next() error -1. *IotAlertListPage.NextWithContext(context.Context) error -1. *IotRecommendation.UnmarshalJSON([]byte) error -1. *IotRecommendationListIterator.Next() error -1. *IotRecommendationListIterator.NextWithContext(context.Context) error -1. *IotRecommendationListPage.Next() error -1. *IotRecommendationListPage.NextWithContext(context.Context) error -1. AlertsClient.GetResourceGroupLevelAlerts(context.Context, string, string) (Alert, error) -1. AlertsClient.GetResourceGroupLevelAlertsPreparer(context.Context, string, string) (*http.Request, error) -1. AlertsClient.GetResourceGroupLevelAlertsResponder(*http.Response) (Alert, error) -1. AlertsClient.GetResourceGroupLevelAlertsSender(*http.Request) (*http.Response, error) -1. AlertsClient.GetSubscriptionLevelAlert(context.Context, string) (Alert, error) -1. AlertsClient.GetSubscriptionLevelAlertPreparer(context.Context, string) (*http.Request, error) -1. AlertsClient.GetSubscriptionLevelAlertResponder(*http.Response) (Alert, error) -1. AlertsClient.GetSubscriptionLevelAlertSender(*http.Request) (*http.Response, error) -1. AlertsClient.ListResourceGroupLevelAlertsByRegion(context.Context, string) (AlertListPage, error) -1. AlertsClient.ListResourceGroupLevelAlertsByRegionComplete(context.Context, string) (AlertListIterator, error) -1. AlertsClient.ListResourceGroupLevelAlertsByRegionPreparer(context.Context, string) (*http.Request, error) -1. AlertsClient.ListResourceGroupLevelAlertsByRegionResponder(*http.Response) (AlertList, error) -1. AlertsClient.ListResourceGroupLevelAlertsByRegionSender(*http.Request) (*http.Response, error) -1. AlertsClient.ListSubscriptionLevelAlertsByRegion(context.Context) (AlertListPage, error) -1. AlertsClient.ListSubscriptionLevelAlertsByRegionComplete(context.Context) (AlertListIterator, error) -1. AlertsClient.ListSubscriptionLevelAlertsByRegionPreparer(context.Context) (*http.Request, error) -1. AlertsClient.ListSubscriptionLevelAlertsByRegionResponder(*http.Response) (AlertList, error) -1. AlertsClient.ListSubscriptionLevelAlertsByRegionSender(*http.Request) (*http.Response, error) -1. AlertsClient.UpdateResourceGroupLevelAlertStateToDismiss(context.Context, string, string) (autorest.Response, error) -1. AlertsClient.UpdateResourceGroupLevelAlertStateToDismissPreparer(context.Context, string, string) (*http.Request, error) -1. AlertsClient.UpdateResourceGroupLevelAlertStateToDismissResponder(*http.Response) (autorest.Response, error) -1. AlertsClient.UpdateResourceGroupLevelAlertStateToDismissSender(*http.Request) (*http.Response, error) -1. AlertsClient.UpdateResourceGroupLevelAlertStateToReactivate(context.Context, string, string) (autorest.Response, error) -1. AlertsClient.UpdateResourceGroupLevelAlertStateToReactivatePreparer(context.Context, string, string) (*http.Request, error) -1. AlertsClient.UpdateResourceGroupLevelAlertStateToReactivateResponder(*http.Response) (autorest.Response, error) -1. AlertsClient.UpdateResourceGroupLevelAlertStateToReactivateSender(*http.Request) (*http.Response, error) -1. AlertsClient.UpdateSubscriptionLevelAlertStateToDismiss(context.Context, string) (autorest.Response, error) -1. AlertsClient.UpdateSubscriptionLevelAlertStateToDismissPreparer(context.Context, string) (*http.Request, error) -1. AlertsClient.UpdateSubscriptionLevelAlertStateToDismissResponder(*http.Response) (autorest.Response, error) -1. AlertsClient.UpdateSubscriptionLevelAlertStateToDismissSender(*http.Request) (*http.Response, error) -1. AlertsClient.UpdateSubscriptionLevelAlertStateToReactivate(context.Context, string) (autorest.Response, error) -1. AlertsClient.UpdateSubscriptionLevelAlertStateToReactivatePreparer(context.Context, string) (*http.Request, error) -1. AlertsClient.UpdateSubscriptionLevelAlertStateToReactivateResponder(*http.Response) (autorest.Response, error) -1. AlertsClient.UpdateSubscriptionLevelAlertStateToReactivateSender(*http.Request) (*http.Response, error) -1. IotAlert.MarshalJSON() ([]byte, error) -1. IotAlertList.IsEmpty() bool -1. IotAlertList.MarshalJSON() ([]byte, error) -1. IotAlertListIterator.NotDone() bool -1. IotAlertListIterator.Response() IotAlertList -1. IotAlertListIterator.Value() IotAlert -1. IotAlertListPage.NotDone() bool -1. IotAlertListPage.Response() IotAlertList -1. IotAlertListPage.Values() []IotAlert -1. IotAlertProperties.MarshalJSON() ([]byte, error) -1. IotAlertTypesClient.Get1(context.Context, string) (IotAlertType, error) -1. IotAlertTypesClient.Get1Preparer(context.Context, string) (*http.Request, error) -1. IotAlertTypesClient.Get1Responder(*http.Response) (IotAlertType, error) -1. IotAlertTypesClient.Get1Sender(*http.Request) (*http.Response, error) -1. IotAlertTypesClient.List1(context.Context) (IotAlertTypeList, error) -1. IotAlertTypesClient.List1Preparer(context.Context) (*http.Request, error) -1. IotAlertTypesClient.List1Responder(*http.Response) (IotAlertTypeList, error) -1. IotAlertTypesClient.List1Sender(*http.Request) (*http.Response, error) -1. IotAlertsClient.Get1(context.Context, string, string) (IotAlertModel, error) -1. IotAlertsClient.Get1Preparer(context.Context, string, string) (*http.Request, error) -1. IotAlertsClient.Get1Responder(*http.Response) (IotAlertModel, error) -1. IotAlertsClient.Get1Sender(*http.Request) (*http.Response, error) -1. IotAlertsClient.List1(context.Context, string, string, string, string, ManagementState, string, *int32, string) (IotAlertListModelPage, error) -1. IotAlertsClient.List1Complete(context.Context, string, string, string, string, ManagementState, string, *int32, string) (IotAlertListModelIterator, error) -1. IotAlertsClient.List1Preparer(context.Context, string, string, string, string, ManagementState, string, *int32, string) (*http.Request, error) -1. IotAlertsClient.List1Responder(*http.Response) (IotAlertListModel, error) -1. IotAlertsClient.List1Sender(*http.Request) (*http.Response, error) -1. IotRecommendation.MarshalJSON() ([]byte, error) -1. IotRecommendationList.IsEmpty() bool -1. IotRecommendationList.MarshalJSON() ([]byte, error) -1. IotRecommendationListIterator.NotDone() bool -1. IotRecommendationListIterator.Response() IotRecommendationList -1. IotRecommendationListIterator.Value() IotRecommendation -1. IotRecommendationListPage.NotDone() bool -1. IotRecommendationListPage.Response() IotRecommendationList -1. IotRecommendationListPage.Values() []IotRecommendation -1. IotRecommendationProperties.MarshalJSON() ([]byte, error) -1. IotRecommendationTypesClient.Get1(context.Context, string) (IotRecommendationType, error) -1. IotRecommendationTypesClient.Get1Preparer(context.Context, string) (*http.Request, error) -1. IotRecommendationTypesClient.Get1Responder(*http.Response) (IotRecommendationType, error) -1. IotRecommendationTypesClient.Get1Sender(*http.Request) (*http.Response, error) -1. IotRecommendationTypesClient.List1(context.Context) (IotRecommendationTypeList, error) -1. IotRecommendationTypesClient.List1Preparer(context.Context) (*http.Request, error) -1. IotRecommendationTypesClient.List1Responder(*http.Response) (IotRecommendationTypeList, error) -1. IotRecommendationTypesClient.List1Sender(*http.Request) (*http.Response, error) -1. IotRecommendationsClient.Get1(context.Context, string, string) (IotRecommendationModel, error) -1. IotRecommendationsClient.Get1Preparer(context.Context, string, string) (*http.Request, error) -1. IotRecommendationsClient.Get1Responder(*http.Response) (IotRecommendationModel, error) -1. IotRecommendationsClient.Get1Sender(*http.Request) (*http.Response, error) -1. IotRecommendationsClient.List1(context.Context, string, string, string, *int32, string) (IotRecommendationListModelPage, error) -1. IotRecommendationsClient.List1Complete(context.Context, string, string, string, *int32, string) (IotRecommendationListModelIterator, error) -1. IotRecommendationsClient.List1Preparer(context.Context, string, string, string, *int32, string) (*http.Request, error) -1. IotRecommendationsClient.List1Responder(*http.Response) (IotRecommendationListModel, error) -1. IotRecommendationsClient.List1Sender(*http.Request) (*http.Response, error) -1. NewIotAlertListIterator(IotAlertListPage) IotAlertListIterator -1. NewIotAlertListPage(IotAlertList, func(context.Context, IotAlertList) (IotAlertList, error)) IotAlertListPage -1. NewIotRecommendationListIterator(IotRecommendationListPage) IotRecommendationListIterator -1. NewIotRecommendationListPage(IotRecommendationList, func(context.Context, IotRecommendationList) (IotRecommendationList, error)) IotRecommendationListPage -1. PossibleCategoryValues() []Category - -### Struct Changes - -#### Removed Structs - -1. IotAlert -1. IotAlertList -1. IotAlertListIterator -1. IotAlertListPage -1. IotAlertProperties -1. IotRecommendation -1. IotRecommendationList -1. IotRecommendationListIterator -1. IotRecommendationListPage -1. IotRecommendationProperties - -#### Removed Struct Fields - -1. AssessmentMetadataProperties.Category - ### Signature Changes #### Const Types -1. Alerts changed type from EventSource to AdditionalWorkspaceDataType -1. Compute changed type from Category to Categories -1. Data changed type from Category to Categories -1. IdentityAndAccess changed type from Category to Categories -1. IoT changed type from Category to Categories -1. Networking changed type from Category to Categories -1. None changed type from EnforcementMode to EndOfSupportStatus -1. RawEvents changed type from ExportData to AdditionalWorkspaceDataType - -#### Funcs - -1. IotAlertTypesClient.Get - - Params - - From: context.Context, string, string, string - - To: context.Context, string -1. IotAlertTypesClient.GetPreparer - - Params - - From: context.Context, string, string, string - - To: context.Context, string -1. IotAlertTypesClient.List - - Params - - From: context.Context, string, string - - To: context.Context -1. IotAlertTypesClient.ListPreparer - - Params - - From: context.Context, string, string - - To: context.Context -1. IotAlertsClient.Get - - Params - - From: context.Context, string, string, string - - To: context.Context, string, string - - Returns - - From: IotAlert, error - - To: IotAlertModel, error -1. IotAlertsClient.GetPreparer - - Params - - From: context.Context, string, string, string - - To: context.Context, string, string -1. IotAlertsClient.GetResponder - - Returns - - From: IotAlert, error - - To: IotAlertModel, error -1. IotAlertsClient.List - - Params - - From: context.Context, string, string, string, string, string, string, *int32, string - - To: context.Context, string, string, string, string, ManagementState, string, *int32, string - - Returns - - From: IotAlertListPage, error - - To: IotAlertListModelPage, error -1. IotAlertsClient.ListComplete - - Params - - From: context.Context, string, string, string, string, string, string, *int32, string - - To: context.Context, string, string, string, string, ManagementState, string, *int32, string - - Returns - - From: IotAlertListIterator, error - - To: IotAlertListModelIterator, error -1. IotAlertsClient.ListPreparer - - Params - - From: context.Context, string, string, string, string, string, string, *int32, string - - To: context.Context, string, string, string, string, ManagementState, string, *int32, string -1. IotAlertsClient.ListResponder - - Returns - - From: IotAlertList, error - - To: IotAlertListModel, error -1. IotRecommendationTypesClient.Get - - Params - - From: context.Context, string, string, string - - To: context.Context, string -1. IotRecommendationTypesClient.GetPreparer - - Params - - From: context.Context, string, string, string - - To: context.Context, string -1. IotRecommendationTypesClient.List - - Params - - From: context.Context, string, string - - To: context.Context -1. IotRecommendationTypesClient.ListPreparer - - Params - - From: context.Context, string, string - - To: context.Context -1. IotRecommendationsClient.Get - - Params - - From: context.Context, string, string, string - - To: context.Context, string, string - - Returns - - From: IotRecommendation, error - - To: IotRecommendationModel, error -1. IotRecommendationsClient.GetPreparer - - Params - - From: context.Context, string, string, string - - To: context.Context, string, string -1. IotRecommendationsClient.GetResponder - - Returns - - From: IotRecommendation, error - - To: IotRecommendationModel, error -1. IotRecommendationsClient.List - - Params - - From: context.Context, string, string, string, string, *int32, string - - To: context.Context, string, string, string, *int32, string - - Returns - - From: IotRecommendationListPage, error - - To: IotRecommendationListModelPage, error -1. IotRecommendationsClient.ListComplete - - Params - - From: context.Context, string, string, string, string, *int32, string - - To: context.Context, string, string, string, *int32, string - - Returns - - From: IotRecommendationListIterator, error - - To: IotRecommendationListModelIterator, error -1. IotRecommendationsClient.ListPreparer - - Params - - From: context.Context, string, string, string, string, *int32, string - - To: context.Context, string, string, string, *int32, string -1. IotRecommendationsClient.ListResponder - - Returns - - From: IotRecommendationList, error - - To: IotRecommendationListModel, error -1. ServerVulnerabilityAssessmentClient.Delete - - Returns - - From: autorest.Response, error - - To: ServerVulnerabilityAssessmentDeleteFuture, error -1. ServerVulnerabilityAssessmentClient.DeleteSender - - Returns - - From: *http.Response, error - - To: ServerVulnerabilityAssessmentDeleteFuture, error +1. KindAAD changed type from KindEnum1 to KindEnum +1. KindATA changed type from KindEnum1 to KindEnum +1. KindAlertSimulatorRequestProperties changed type from KindEnum2 to KindEnum1 +1. KindBundles changed type from KindEnum2 to KindEnum1 +1. KindCEF changed type from KindEnum1 to KindEnum +1. KindDataExportSettings changed type from KindEnum to KindEnum2 +1. KindExternalSecuritySolution changed type from KindEnum1 to KindEnum +1. KindSetting changed type from KindEnum to KindEnum2 #### Struct Fields -1. IoTSecurityAggregatedAlertProperties.Count changed type from *int32 to *int64 -1. IoTSecurityAggregatedAlertPropertiesTopDevicesListItem.AlertsCount changed type from *int32 to *int64 -1. IoTSecurityAggregatedRecommendationProperties.HealthyDevices changed type from *int32 to *int64 -1. IoTSecurityAggregatedRecommendationProperties.UnhealthyDeviceCount changed type from *int32 to *int64 -1. IoTSecurityAlertedDevice.AlertsCount changed type from *int32 to *int64 -1. IoTSecurityDeviceAlert.AlertsCount changed type from *int32 to *int64 -1. IoTSecurityDeviceRecommendation.DevicesCount changed type from *int32 to *int64 -1. IoTSecuritySolutionAnalyticsModelProperties.UnhealthyDeviceCount changed type from *int32 to *int64 -1. IoTSeverityMetrics.High changed type from *int32 to *int64 -1. IoTSeverityMetrics.Low changed type from *int32 to *int64 -1. IoTSeverityMetrics.Medium changed type from *int32 to *int64 +1. AadExternalSecuritySolution.Kind changed type from KindEnum1 to KindEnum +1. AlertSimulatorBundlesRequestProperties.Kind changed type from KindEnum2 to KindEnum1 +1. AlertSimulatorRequestProperties.Kind changed type from KindEnum2 to KindEnum1 +1. AtaExternalSecuritySolution.Kind changed type from KindEnum1 to KindEnum +1. CefExternalSecuritySolution.Kind changed type from KindEnum1 to KindEnum +1. DataExportSettings.Kind changed type from KindEnum to KindEnum2 +1. ExternalSecuritySolution.Kind changed type from KindEnum1 to KindEnum +1. Setting.Kind changed type from KindEnum to KindEnum2 ## Additive Changes ### New Constants -1. AdditionalWorkspaceType.Sentinel -1. BundleType.AppServices -1. BundleType.DNS -1. BundleType.KeyVaults -1. BundleType.KubernetesService -1. BundleType.ResourceManager -1. BundleType.SQLServers -1. BundleType.StorageAccounts -1. BundleType.VirtualMachines -1. CreatedByType.Application -1. CreatedByType.Key -1. CreatedByType.ManagedIdentity -1. CreatedByType.User -1. EndOfSupportStatus.NoLongerSupported -1. EndOfSupportStatus.UpcomingNoLongerSupported -1. EndOfSupportStatus.UpcomingVersionNoLongerSupported -1. EndOfSupportStatus.VersionNoLongerSupported -1. EnforcementMode.EnforcementModeAudit -1. EnforcementMode.EnforcementModeEnforce -1. EnforcementMode.EnforcementModeNone -1. EventSource.EventSourceAlerts -1. EventSource.EventSourceAssessments -1. EventSource.EventSourceRegulatoryComplianceAssessment -1. EventSource.EventSourceRegulatoryComplianceAssessmentSnapshot -1. EventSource.EventSourceSecureScoreControls -1. EventSource.EventSourceSecureScoreControlsSnapshot -1. EventSource.EventSourceSecureScores -1. EventSource.EventSourceSecureScoresSnapshot -1. EventSource.EventSourceSubAssessments -1. ExportData.ExportDataRawEvents -1. KindEnum2.KindAlertSimulatorRequestProperties -1. KindEnum2.KindBundles -1. OnboardingKind.Default -1. OnboardingKind.MigratedToAzure -1. RuleTypeBasicCustomAlertRule.RuleTypeConnectionFromIPNotAllowed -1. SensorType.SensorTypeEnterprise -1. SensorType.SensorTypeOt +1. KindEnum2.KindAlertSyncSettings +1. OnboardingKind.Evaluation +1. OnboardingKind.Purchased ### New Funcs -1. *AlertSimulatorBundlesRequestProperties.UnmarshalJSON([]byte) error -1. *AlertSimulatorRequestBody.UnmarshalJSON([]byte) error -1. *AlertSimulatorRequestProperties.UnmarshalJSON([]byte) error -1. *AlertsSimulateFuture.UnmarshalJSON([]byte) error -1. *IngestionSettingListIterator.Next() error -1. *IngestionSettingListIterator.NextWithContext(context.Context) error -1. *IngestionSettingListPage.Next() error -1. *IngestionSettingListPage.NextWithContext(context.Context) error -1. *ServerVulnerabilityAssessmentDeleteFuture.UnmarshalJSON([]byte) error -1. *Software.UnmarshalJSON([]byte) error -1. *SoftwaresListIterator.Next() error -1. *SoftwaresListIterator.NextWithContext(context.Context) error -1. *SoftwaresListPage.Next() error -1. *SoftwaresListPage.NextWithContext(context.Context) error -1. ActiveConnectionsNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. AlertSimulatorBundlesRequestProperties.AsAlertSimulatorBundlesRequestProperties() (*AlertSimulatorBundlesRequestProperties, bool) -1. AlertSimulatorBundlesRequestProperties.AsAlertSimulatorRequestProperties() (*AlertSimulatorRequestProperties, bool) -1. AlertSimulatorBundlesRequestProperties.AsBasicAlertSimulatorRequestProperties() (BasicAlertSimulatorRequestProperties, bool) -1. AlertSimulatorBundlesRequestProperties.MarshalJSON() ([]byte, error) -1. AlertSimulatorRequestProperties.AsAlertSimulatorBundlesRequestProperties() (*AlertSimulatorBundlesRequestProperties, bool) -1. AlertSimulatorRequestProperties.AsAlertSimulatorRequestProperties() (*AlertSimulatorRequestProperties, bool) -1. AlertSimulatorRequestProperties.AsBasicAlertSimulatorRequestProperties() (BasicAlertSimulatorRequestProperties, bool) -1. AlertSimulatorRequestProperties.MarshalJSON() ([]byte, error) -1. AlertsClient.GetResourceGroupLevel(context.Context, string, string) (Alert, error) -1. AlertsClient.GetResourceGroupLevelPreparer(context.Context, string, string) (*http.Request, error) -1. AlertsClient.GetResourceGroupLevelResponder(*http.Response) (Alert, error) -1. AlertsClient.GetResourceGroupLevelSender(*http.Request) (*http.Response, error) -1. AlertsClient.GetSubscriptionLevel(context.Context, string) (Alert, error) -1. AlertsClient.GetSubscriptionLevelPreparer(context.Context, string) (*http.Request, error) -1. AlertsClient.GetSubscriptionLevelResponder(*http.Response) (Alert, error) -1. AlertsClient.GetSubscriptionLevelSender(*http.Request) (*http.Response, error) -1. AlertsClient.ListResourceGroupLevelByRegion(context.Context, string) (AlertListPage, error) -1. AlertsClient.ListResourceGroupLevelByRegionComplete(context.Context, string) (AlertListIterator, error) -1. AlertsClient.ListResourceGroupLevelByRegionPreparer(context.Context, string) (*http.Request, error) -1. AlertsClient.ListResourceGroupLevelByRegionResponder(*http.Response) (AlertList, error) -1. AlertsClient.ListResourceGroupLevelByRegionSender(*http.Request) (*http.Response, error) -1. AlertsClient.ListSubscriptionLevelByRegion(context.Context) (AlertListPage, error) -1. AlertsClient.ListSubscriptionLevelByRegionComplete(context.Context) (AlertListIterator, error) -1. AlertsClient.ListSubscriptionLevelByRegionPreparer(context.Context) (*http.Request, error) -1. AlertsClient.ListSubscriptionLevelByRegionResponder(*http.Response) (AlertList, error) -1. AlertsClient.ListSubscriptionLevelByRegionSender(*http.Request) (*http.Response, error) -1. AlertsClient.Simulate(context.Context, AlertSimulatorRequestBody) (AlertsSimulateFuture, error) -1. AlertsClient.SimulatePreparer(context.Context, AlertSimulatorRequestBody) (*http.Request, error) -1. AlertsClient.SimulateResponder(*http.Response) (autorest.Response, error) -1. AlertsClient.SimulateSender(*http.Request) (AlertsSimulateFuture, error) -1. AlertsClient.UpdateResourceGroupLevelStateToActivate(context.Context, string, string) (autorest.Response, error) -1. AlertsClient.UpdateResourceGroupLevelStateToActivatePreparer(context.Context, string, string) (*http.Request, error) -1. AlertsClient.UpdateResourceGroupLevelStateToActivateResponder(*http.Response) (autorest.Response, error) -1. AlertsClient.UpdateResourceGroupLevelStateToActivateSender(*http.Request) (*http.Response, error) -1. AlertsClient.UpdateResourceGroupLevelStateToDismiss(context.Context, string, string) (autorest.Response, error) -1. AlertsClient.UpdateResourceGroupLevelStateToDismissPreparer(context.Context, string, string) (*http.Request, error) -1. AlertsClient.UpdateResourceGroupLevelStateToDismissResponder(*http.Response) (autorest.Response, error) -1. AlertsClient.UpdateResourceGroupLevelStateToDismissSender(*http.Request) (*http.Response, error) -1. AlertsClient.UpdateSubscriptionLevelStateToActivate(context.Context, string) (autorest.Response, error) -1. AlertsClient.UpdateSubscriptionLevelStateToActivatePreparer(context.Context, string) (*http.Request, error) -1. AlertsClient.UpdateSubscriptionLevelStateToActivateResponder(*http.Response) (autorest.Response, error) -1. AlertsClient.UpdateSubscriptionLevelStateToActivateSender(*http.Request) (*http.Response, error) -1. AlertsClient.UpdateSubscriptionLevelStateToDismiss(context.Context, string) (autorest.Response, error) -1. AlertsClient.UpdateSubscriptionLevelStateToDismissPreparer(context.Context, string) (*http.Request, error) -1. AlertsClient.UpdateSubscriptionLevelStateToDismissResponder(*http.Response) (autorest.Response, error) -1. AlertsClient.UpdateSubscriptionLevelStateToDismissSender(*http.Request) (*http.Response, error) -1. AllowlistCustomAlertRule.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. AmqpC2DMessagesNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. AmqpC2DRejectedMessagesNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. AmqpD2CMessagesNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. ConnectionFromIPNotAllowed.AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool) -1. ConnectionFromIPNotAllowed.AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool) -1. ConnectionFromIPNotAllowed.AsBasicCustomAlertRule() (BasicCustomAlertRule, bool) -1. ConnectionFromIPNotAllowed.AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool) -1. ConnectionFromIPNotAllowed.AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool) -1. ConnectionFromIPNotAllowed.AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool) -1. ConnectionFromIPNotAllowed.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. ConnectionFromIPNotAllowed.AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool) -1. ConnectionFromIPNotAllowed.AsCustomAlertRule() (*CustomAlertRule, bool) -1. ConnectionFromIPNotAllowed.AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool) -1. ConnectionFromIPNotAllowed.AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsListCustomAlertRule() (*ListCustomAlertRule, bool) -1. ConnectionFromIPNotAllowed.AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool) -1. ConnectionFromIPNotAllowed.AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsProcessNotAllowed() (*ProcessNotAllowed, bool) -1. ConnectionFromIPNotAllowed.AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool) -1. ConnectionFromIPNotAllowed.AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool) -1. ConnectionFromIPNotAllowed.AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool) -1. ConnectionFromIPNotAllowed.MarshalJSON() ([]byte, error) -1. ConnectionToIPNotAllowed.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. CustomAlertRule.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. DenylistCustomAlertRule.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. DirectMethodInvokesNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. ErrorAdditionalInfo.MarshalJSON() ([]byte, error) -1. FailedLocalLoginsNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. FileUploadsNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. HTTPC2DMessagesNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. HTTPC2DRejectedMessagesNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. HTTPD2CMessagesNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. IngestionConnectionString.MarshalJSON() ([]byte, error) -1. IngestionSetting.MarshalJSON() ([]byte, error) -1. IngestionSettingList.IsEmpty() bool -1. IngestionSettingList.MarshalJSON() ([]byte, error) -1. IngestionSettingListIterator.NotDone() bool -1. IngestionSettingListIterator.Response() IngestionSettingList -1. IngestionSettingListIterator.Value() IngestionSetting -1. IngestionSettingListPage.NotDone() bool -1. IngestionSettingListPage.Response() IngestionSettingList -1. IngestionSettingListPage.Values() []IngestionSetting -1. IngestionSettingToken.MarshalJSON() ([]byte, error) -1. IngestionSettingsClient.Create(context.Context, string, IngestionSetting) (IngestionSetting, error) -1. IngestionSettingsClient.CreatePreparer(context.Context, string, IngestionSetting) (*http.Request, error) -1. IngestionSettingsClient.CreateResponder(*http.Response) (IngestionSetting, error) -1. IngestionSettingsClient.CreateSender(*http.Request) (*http.Response, error) -1. IngestionSettingsClient.Delete(context.Context, string) (autorest.Response, error) -1. IngestionSettingsClient.DeletePreparer(context.Context, string) (*http.Request, error) -1. IngestionSettingsClient.DeleteResponder(*http.Response) (autorest.Response, error) -1. IngestionSettingsClient.DeleteSender(*http.Request) (*http.Response, error) -1. IngestionSettingsClient.Get(context.Context, string) (IngestionSetting, error) -1. IngestionSettingsClient.GetPreparer(context.Context, string) (*http.Request, error) -1. IngestionSettingsClient.GetResponder(*http.Response) (IngestionSetting, error) -1. IngestionSettingsClient.GetSender(*http.Request) (*http.Response, error) -1. IngestionSettingsClient.List(context.Context) (IngestionSettingListPage, error) -1. IngestionSettingsClient.ListComplete(context.Context) (IngestionSettingListIterator, error) -1. IngestionSettingsClient.ListConnectionStrings(context.Context, string) (ConnectionStrings, error) -1. IngestionSettingsClient.ListConnectionStringsPreparer(context.Context, string) (*http.Request, error) -1. IngestionSettingsClient.ListConnectionStringsResponder(*http.Response) (ConnectionStrings, error) -1. IngestionSettingsClient.ListConnectionStringsSender(*http.Request) (*http.Response, error) -1. IngestionSettingsClient.ListPreparer(context.Context) (*http.Request, error) -1. IngestionSettingsClient.ListResponder(*http.Response) (IngestionSettingList, error) -1. IngestionSettingsClient.ListSender(*http.Request) (*http.Response, error) -1. IngestionSettingsClient.ListTokens(context.Context, string) (IngestionSettingToken, error) -1. IngestionSettingsClient.ListTokensPreparer(context.Context, string) (*http.Request, error) -1. IngestionSettingsClient.ListTokensResponder(*http.Response) (IngestionSettingToken, error) -1. IngestionSettingsClient.ListTokensSender(*http.Request) (*http.Response, error) -1. ListCustomAlertRule.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. LocalUserNotAllowed.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. MqttC2DMessagesNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. MqttC2DRejectedMessagesNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. MqttD2CMessagesNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. NewIngestionSettingListIterator(IngestionSettingListPage) IngestionSettingListIterator -1. NewIngestionSettingListPage(IngestionSettingList, func(context.Context, IngestionSettingList) (IngestionSettingList, error)) IngestionSettingListPage -1. NewIngestionSettingsClient(string, string) IngestionSettingsClient -1. NewIngestionSettingsClientWithBaseURI(string, string, string) IngestionSettingsClient -1. NewSoftwareInventoriesClient(string, string) SoftwareInventoriesClient -1. NewSoftwareInventoriesClientWithBaseURI(string, string, string) SoftwareInventoriesClient -1. NewSoftwaresListIterator(SoftwaresListPage) SoftwaresListIterator -1. NewSoftwaresListPage(SoftwaresList, func(context.Context, SoftwaresList) (SoftwaresList, error)) SoftwaresListPage -1. PossibleAdditionalWorkspaceDataTypeValues() []AdditionalWorkspaceDataType -1. PossibleAdditionalWorkspaceTypeValues() []AdditionalWorkspaceType -1. PossibleBundleTypeValues() []BundleType -1. PossibleCategoriesValues() []Categories -1. PossibleCreatedByTypeValues() []CreatedByType -1. PossibleEndOfSupportStatusValues() []EndOfSupportStatus -1. PossibleKindEnum2Values() []KindEnum2 -1. PossibleOnboardingKindValues() []OnboardingKind -1. PossibleSensorTypeValues() []SensorType -1. ProcessNotAllowed.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. QueuePurgesNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. Software.MarshalJSON() ([]byte, error) -1. SoftwareInventoriesClient.Get(context.Context, string, string, string, string, string) (Software, error) -1. SoftwareInventoriesClient.GetPreparer(context.Context, string, string, string, string, string) (*http.Request, error) -1. SoftwareInventoriesClient.GetResponder(*http.Response) (Software, error) -1. SoftwareInventoriesClient.GetSender(*http.Request) (*http.Response, error) -1. SoftwareInventoriesClient.ListByExtendedResource(context.Context, string, string, string, string) (SoftwaresListPage, error) -1. SoftwareInventoriesClient.ListByExtendedResourceComplete(context.Context, string, string, string, string) (SoftwaresListIterator, error) -1. SoftwareInventoriesClient.ListByExtendedResourcePreparer(context.Context, string, string, string, string) (*http.Request, error) -1. SoftwareInventoriesClient.ListByExtendedResourceResponder(*http.Response) (SoftwaresList, error) -1. SoftwareInventoriesClient.ListByExtendedResourceSender(*http.Request) (*http.Response, error) -1. SoftwareInventoriesClient.ListBySubscription(context.Context) (SoftwaresListPage, error) -1. SoftwareInventoriesClient.ListBySubscriptionComplete(context.Context) (SoftwaresListIterator, error) -1. SoftwareInventoriesClient.ListBySubscriptionPreparer(context.Context) (*http.Request, error) -1. SoftwareInventoriesClient.ListBySubscriptionResponder(*http.Response) (SoftwaresList, error) -1. SoftwareInventoriesClient.ListBySubscriptionSender(*http.Request) (*http.Response, error) -1. SoftwaresList.IsEmpty() bool -1. SoftwaresList.MarshalJSON() ([]byte, error) -1. SoftwaresListIterator.NotDone() bool -1. SoftwaresListIterator.Response() SoftwaresList -1. SoftwaresListIterator.Value() Software -1. SoftwaresListPage.NotDone() bool -1. SoftwaresListPage.Response() SoftwaresList -1. SoftwaresListPage.Values() []Software -1. ThresholdCustomAlertRule.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. TimeWindowCustomAlertRule.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. TwinUpdatesNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) -1. UnauthorizedOperationsNotInAllowedRange.AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool) +1. *AlertSyncSettings.UnmarshalJSON([]byte) error +1. AlertSyncSettings.AsAlertSyncSettings() (*AlertSyncSettings, bool) +1. AlertSyncSettings.AsBasicSetting() (BasicSetting, bool) +1. AlertSyncSettings.AsDataExportSettings() (*DataExportSettings, bool) +1. AlertSyncSettings.AsSetting() (*Setting, bool) +1. AlertSyncSettings.MarshalJSON() ([]byte, error) +1. DataExportSettings.AsAlertSyncSettings() (*AlertSyncSettings, bool) +1. IotDefenderSettingsProperties.MarshalJSON() ([]byte, error) +1. Setting.AsAlertSyncSettings() (*AlertSyncSettings, bool) ### Struct Changes #### New Structs -1. AdditionalWorkspacesProperties -1. AlertSimulatorBundlesRequestProperties -1. AlertSimulatorRequestBody -1. AlertSimulatorRequestProperties -1. AlertsSimulateFuture -1. ConnectionFromIPNotAllowed -1. ConnectionStrings -1. ErrorAdditionalInfo -1. IngestionConnectionString -1. IngestionSetting -1. IngestionSettingList -1. IngestionSettingListIterator -1. IngestionSettingListPage -1. IngestionSettingToken -1. IngestionSettingsClient -1. ServerVulnerabilityAssessmentDeleteFuture -1. Software -1. SoftwareInventoriesClient -1. SoftwareProperties -1. SoftwaresList -1. SoftwaresListIterator -1. SoftwaresListPage -1. SystemData +1. AlertSyncSettingProperties +1. AlertSyncSettings #### New Struct Fields -1. AssessmentMetadataProperties.Categories -1. CloudErrorBody.AdditionalInfo -1. CloudErrorBody.Details -1. CloudErrorBody.Target -1. IoTSecuritySolutionModel.SystemData -1. IoTSecuritySolutionProperties.AdditionalWorkspaces -1. IotAlertModel.ID -1. IotAlertModel.Name -1. IotAlertModel.Type -1. IotDefenderSettingsProperties.OnboardingKind -1. IotSensorProperties.SensorType +1. IotDefenderSettingsProperties.EvaluationEndTime diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/_meta.json b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/_meta.json index 5f95c7bcb6c4..179357b4e3a7 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/_meta.json +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/_meta.json @@ -1,5 +1,5 @@ { - "commit": "2b0b50e3e5bd467aa039a51cafa2a071593eca28", + "commit": "f9883569df850be792a37df17a1a28a5bdcdfc39", "readme": "/_/azure-rest-api-specs/specification/security/resource-manager/readme.md", "tag": "package-composite-v3", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/enums.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/enums.go index 25b9c2e5e721..4cc6ec11eb72 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/enums.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/enums.go @@ -882,49 +882,51 @@ func PossibleIssueValues() []Issue { type KindEnum string const ( - // KindDataExportSettings ... - KindDataExportSettings KindEnum = "DataExportSettings" - // KindSetting ... - KindSetting KindEnum = "Setting" + // KindAAD ... + KindAAD KindEnum = "AAD" + // KindATA ... + KindATA KindEnum = "ATA" + // KindCEF ... + KindCEF KindEnum = "CEF" + // KindExternalSecuritySolution ... + KindExternalSecuritySolution KindEnum = "ExternalSecuritySolution" ) // PossibleKindEnumValues returns an array of possible values for the KindEnum const type. func PossibleKindEnumValues() []KindEnum { - return []KindEnum{KindDataExportSettings, KindSetting} + return []KindEnum{KindAAD, KindATA, KindCEF, KindExternalSecuritySolution} } // KindEnum1 enumerates the values for kind enum 1. type KindEnum1 string const ( - // KindAAD ... - KindAAD KindEnum1 = "AAD" - // KindATA ... - KindATA KindEnum1 = "ATA" - // KindCEF ... - KindCEF KindEnum1 = "CEF" - // KindExternalSecuritySolution ... - KindExternalSecuritySolution KindEnum1 = "ExternalSecuritySolution" + // KindAlertSimulatorRequestProperties ... + KindAlertSimulatorRequestProperties KindEnum1 = "AlertSimulatorRequestProperties" + // KindBundles ... + KindBundles KindEnum1 = "Bundles" ) // PossibleKindEnum1Values returns an array of possible values for the KindEnum1 const type. func PossibleKindEnum1Values() []KindEnum1 { - return []KindEnum1{KindAAD, KindATA, KindCEF, KindExternalSecuritySolution} + return []KindEnum1{KindAlertSimulatorRequestProperties, KindBundles} } // KindEnum2 enumerates the values for kind enum 2. type KindEnum2 string const ( - // KindAlertSimulatorRequestProperties ... - KindAlertSimulatorRequestProperties KindEnum2 = "AlertSimulatorRequestProperties" - // KindBundles ... - KindBundles KindEnum2 = "Bundles" + // KindAlertSyncSettings ... + KindAlertSyncSettings KindEnum2 = "AlertSyncSettings" + // KindDataExportSettings ... + KindDataExportSettings KindEnum2 = "DataExportSettings" + // KindSetting ... + KindSetting KindEnum2 = "Setting" ) // PossibleKindEnum2Values returns an array of possible values for the KindEnum2 const type. func PossibleKindEnum2Values() []KindEnum2 { - return []KindEnum2{KindAlertSimulatorRequestProperties, KindBundles} + return []KindEnum2{KindAlertSyncSettings, KindDataExportSettings, KindSetting} } // MacSignificance enumerates the values for mac significance. @@ -980,13 +982,17 @@ type OnboardingKind string const ( // Default ... Default OnboardingKind = "Default" + // Evaluation ... + Evaluation OnboardingKind = "Evaluation" // MigratedToAzure ... MigratedToAzure OnboardingKind = "MigratedToAzure" + // Purchased ... + Purchased OnboardingKind = "Purchased" ) // PossibleOnboardingKindValues returns an array of possible values for the OnboardingKind const type. func PossibleOnboardingKindValues() []OnboardingKind { - return []OnboardingKind{Default, MigratedToAzure} + return []OnboardingKind{Default, Evaluation, MigratedToAzure, Purchased} } // Operator enumerates the values for operator. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/models.go index 0d33397018d3..03a13201a108 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/models.go @@ -41,7 +41,7 @@ type AadExternalSecuritySolution struct { // Location - READ-ONLY; Location where the resource is stored Location *string `json:"location,omitempty"` // Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD' - Kind KindEnum1 `json:"kind,omitempty"` + Kind KindEnum `json:"kind,omitempty"` } // MarshalJSON is the custom marshaler for AadExternalSecuritySolution. @@ -1472,7 +1472,7 @@ type AlertSimulatorBundlesRequestProperties struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Kind - Possible values include: 'KindAlertSimulatorRequestProperties', 'KindBundles' - Kind KindEnum2 `json:"kind,omitempty"` + Kind KindEnum1 `json:"kind,omitempty"` } // MarshalJSON is the custom marshaler for AlertSimulatorBundlesRequestProperties. @@ -1538,7 +1538,7 @@ func (asbrp *AlertSimulatorBundlesRequestProperties) UnmarshalJSON(body []byte) } case "kind": if v != nil { - var kind KindEnum2 + var kind KindEnum1 err = json.Unmarshal(*v, &kind) if err != nil { return err @@ -1591,7 +1591,7 @@ type AlertSimulatorRequestProperties struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Kind - Possible values include: 'KindAlertSimulatorRequestProperties', 'KindBundles' - Kind KindEnum2 `json:"kind,omitempty"` + Kind KindEnum1 `json:"kind,omitempty"` } func unmarshalBasicAlertSimulatorRequestProperties(body []byte) (BasicAlertSimulatorRequestProperties, error) { @@ -1682,7 +1682,7 @@ func (asrp *AlertSimulatorRequestProperties) UnmarshalJSON(body []byte) error { } case "kind": if v != nil { - var kind KindEnum2 + var kind KindEnum1 err = json.Unmarshal(*v, &kind) if err != nil { return err @@ -2014,6 +2014,119 @@ func NewAlertsSuppressionRulesListPage(cur AlertsSuppressionRulesList, getNextPa } } +// AlertSyncSettingProperties the alert sync setting properties +type AlertSyncSettingProperties struct { + // Enabled - Is the alert sync setting enabled + Enabled *bool `json:"enabled,omitempty"` +} + +// AlertSyncSettings represents an alert sync setting +type AlertSyncSettings struct { + // AlertSyncSettingProperties - Alert sync setting data + *AlertSyncSettingProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Resource Id + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; Resource name + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; Resource type + Type *string `json:"type,omitempty"` + // Kind - Possible values include: 'KindSetting', 'KindDataExportSettings', 'KindAlertSyncSettings' + Kind KindEnum2 `json:"kind,omitempty"` +} + +// MarshalJSON is the custom marshaler for AlertSyncSettings. +func (ass AlertSyncSettings) MarshalJSON() ([]byte, error) { + ass.Kind = KindAlertSyncSettings + objectMap := make(map[string]interface{}) + if ass.AlertSyncSettingProperties != nil { + objectMap["properties"] = ass.AlertSyncSettingProperties + } + if ass.Kind != "" { + objectMap["kind"] = ass.Kind + } + return json.Marshal(objectMap) +} + +// AsDataExportSettings is the BasicSetting implementation for AlertSyncSettings. +func (ass AlertSyncSettings) AsDataExportSettings() (*DataExportSettings, bool) { + return nil, false +} + +// AsAlertSyncSettings is the BasicSetting implementation for AlertSyncSettings. +func (ass AlertSyncSettings) AsAlertSyncSettings() (*AlertSyncSettings, bool) { + return &ass, true +} + +// AsSetting is the BasicSetting implementation for AlertSyncSettings. +func (ass AlertSyncSettings) AsSetting() (*Setting, bool) { + return nil, false +} + +// AsBasicSetting is the BasicSetting implementation for AlertSyncSettings. +func (ass AlertSyncSettings) AsBasicSetting() (BasicSetting, bool) { + return &ass, true +} + +// UnmarshalJSON is the custom unmarshaler for AlertSyncSettings struct. +func (ass *AlertSyncSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var alertSyncSettingProperties AlertSyncSettingProperties + err = json.Unmarshal(*v, &alertSyncSettingProperties) + if err != nil { + return err + } + ass.AlertSyncSettingProperties = &alertSyncSettingProperties + } + case "kind": + if v != nil { + var kind KindEnum2 + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + ass.Kind = kind + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + ass.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + ass.Name = &name + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ass.Type = &typeVar + } + } + } + + return nil +} + // AllowedConnectionsList list of all possible traffic between Azure resources type AllowedConnectionsList struct { autorest.Response `json:"-"` @@ -3999,7 +4112,7 @@ type AtaExternalSecuritySolution struct { // Location - READ-ONLY; Location where the resource is stored Location *string `json:"location,omitempty"` // Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD' - Kind KindEnum1 `json:"kind,omitempty"` + Kind KindEnum `json:"kind,omitempty"` } // MarshalJSON is the custom marshaler for AtaExternalSecuritySolution. @@ -5414,7 +5527,7 @@ type CefExternalSecuritySolution struct { // Location - READ-ONLY; Location where the resource is stored Location *string `json:"location,omitempty"` // Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD' - Kind KindEnum1 `json:"kind,omitempty"` + Kind KindEnum `json:"kind,omitempty"` } // MarshalJSON is the custom marshaler for CefExternalSecuritySolution. @@ -7546,7 +7659,7 @@ func (c CVSS) MarshalJSON() ([]byte, error) { // DataExportSettingProperties the data export setting properties type DataExportSettingProperties struct { - // Enabled - Is the data export setting is enabled + // Enabled - Is the data export setting enabled Enabled *bool `json:"enabled,omitempty"` } @@ -7554,14 +7667,14 @@ type DataExportSettingProperties struct { type DataExportSettings struct { // DataExportSettingProperties - Data export setting data *DataExportSettingProperties `json:"properties,omitempty"` + // Kind - Possible values include: 'KindSetting', 'KindDataExportSettings', 'KindAlertSyncSettings' + Kind KindEnum2 `json:"kind,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` - // Kind - Possible values include: 'KindSetting', 'KindDataExportSettings' - Kind KindEnum `json:"kind,omitempty"` } // MarshalJSON is the custom marshaler for DataExportSettings. @@ -7582,6 +7695,11 @@ func (desVar DataExportSettings) AsDataExportSettings() (*DataExportSettings, bo return &desVar, true } +// AsAlertSyncSettings is the BasicSetting implementation for DataExportSettings. +func (desVar DataExportSettings) AsAlertSyncSettings() (*AlertSyncSettings, bool) { + return nil, false +} + // AsSetting is the BasicSetting implementation for DataExportSettings. func (desVar DataExportSettings) AsSetting() (*Setting, bool) { return nil, false @@ -7612,7 +7730,7 @@ func (desVar *DataExportSettings) UnmarshalJSON(body []byte) error { } case "kind": if v != nil { - var kind KindEnum + var kind KindEnum2 err = json.Unmarshal(*v, &kind) if err != nil { return err @@ -8969,7 +9087,7 @@ type ExternalSecuritySolution struct { // Location - READ-ONLY; Location where the resource is stored Location *string `json:"location,omitempty"` // Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD' - Kind KindEnum1 `json:"kind,omitempty"` + Kind KindEnum `json:"kind,omitempty"` } func unmarshalBasicExternalSecuritySolution(body []byte) (BasicExternalSecuritySolution, error) { @@ -11476,8 +11594,25 @@ type IotDefenderSettingsProperties struct { DeviceQuota *int32 `json:"deviceQuota,omitempty"` // SentinelWorkspaceResourceIds - Sentinel Workspace Resource Ids SentinelWorkspaceResourceIds *[]string `json:"sentinelWorkspaceResourceIds,omitempty"` - // OnboardingKind - The kind of onboarding for the subscription. Possible values include: 'Default', 'MigratedToAzure' + // OnboardingKind - The kind of onboarding for the subscription. Possible values include: 'Default', 'MigratedToAzure', 'Evaluation', 'Purchased' OnboardingKind OnboardingKind `json:"onboardingKind,omitempty"` + // EvaluationEndTime - READ-ONLY; End time of the evaluation period, if such exist + EvaluationEndTime *date.Time `json:"evaluationEndTime,omitempty"` +} + +// MarshalJSON is the custom marshaler for IotDefenderSettingsProperties. +func (idsp IotDefenderSettingsProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if idsp.DeviceQuota != nil { + objectMap["deviceQuota"] = idsp.DeviceQuota + } + if idsp.SentinelWorkspaceResourceIds != nil { + objectMap["sentinelWorkspaceResourceIds"] = idsp.SentinelWorkspaceResourceIds + } + if idsp.OnboardingKind != "" { + objectMap["onboardingKind"] = idsp.OnboardingKind + } + return json.Marshal(objectMap) } // IotRecommendationListModel list of IoT recommendations @@ -18294,14 +18429,15 @@ type ServicePrincipalProperties struct { // BasicSetting the kind of the security setting type BasicSetting interface { AsDataExportSettings() (*DataExportSettings, bool) + AsAlertSyncSettings() (*AlertSyncSettings, bool) AsSetting() (*Setting, bool) } // Setting the kind of the security setting type Setting struct { autorest.Response `json:"-"` - // Kind - Possible values include: 'KindSetting', 'KindDataExportSettings' - Kind KindEnum `json:"kind,omitempty"` + // Kind - Possible values include: 'KindSetting', 'KindDataExportSettings', 'KindAlertSyncSettings' + Kind KindEnum2 `json:"kind,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name @@ -18322,6 +18458,10 @@ func unmarshalBasicSetting(body []byte) (BasicSetting, error) { var desVar DataExportSettings err := json.Unmarshal(body, &desVar) return desVar, err + case string(KindAlertSyncSettings): + var ass AlertSyncSettings + err := json.Unmarshal(body, &ass) + return ass, err default: var s Setting err := json.Unmarshal(body, &s) @@ -18362,6 +18502,11 @@ func (s Setting) AsDataExportSettings() (*DataExportSettings, bool) { return nil, false } +// AsAlertSyncSettings is the BasicSetting implementation for Setting. +func (s Setting) AsAlertSyncSettings() (*AlertSyncSettings, bool) { + return nil, false +} + // AsSetting is the BasicSetting implementation for Setting. func (s Setting) AsSetting() (*Setting, bool) { return &s, true diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/settings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/settings.go index df451b6e747f..6ff57dc8da26 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/settings.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/settings.go @@ -33,7 +33,7 @@ func NewSettingsClientWithBaseURI(baseURI string, subscriptionID string, ascLoca // Get settings of different configurations in security center // Parameters: -// settingName - name of setting: (MCAS/WDATP) +// settingName - the name of the setting func (client SettingsClient) Get(ctx context.Context, settingName string) (result SettingModel, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/SettingsClient.Get") @@ -80,7 +80,7 @@ func (client SettingsClient) GetPreparer(ctx context.Context, settingName string "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-01-01" + const APIVersion = "2021-06-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -162,7 +162,7 @@ func (client SettingsClient) ListPreparer(ctx context.Context) (*http.Request, e "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-01-01" + const APIVersion = "2021-06-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -232,7 +232,7 @@ func (client SettingsClient) ListComplete(ctx context.Context) (result SettingsL // Update updating settings about different configurations in security center // Parameters: -// settingName - name of setting: (MCAS/WDATP) +// settingName - the name of the setting // setting - setting object func (client SettingsClient) Update(ctx context.Context, settingName string, setting BasicSetting) (result SettingModel, err error) { if tracing.IsEnabled() { @@ -280,7 +280,7 @@ func (client SettingsClient) UpdatePreparer(ctx context.Context, settingName str "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-01-01" + const APIVersion = "2021-06-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/version/version.go b/vendor/github.com/Azure/azure-sdk-for-go/version/version.go index 5e38e4455506..f3de42bd5f04 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/version/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/version/version.go @@ -4,4 +4,4 @@ package version // Licensed under the MIT License. See License.txt in the project root for license information. // Number contains the semantic version of this SDK. -const Number = "v55.5.0" +const Number = "v55.6.0" diff --git a/vendor/modules.txt b/vendor/modules.txt index c17edbbc9e98..70bdf035616a 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -9,7 +9,7 @@ cloud.google.com/go/internal/version # cloud.google.com/go/storage v1.16.0 ## explicit cloud.google.com/go/storage -# github.com/Azure/azure-sdk-for-go v55.5.0+incompatible +# github.com/Azure/azure-sdk-for-go v55.6.0+incompatible ## explicit github.com/Azure/azure-sdk-for-go/profiles/2017-03-09/resources/mgmt/resources github.com/Azure/azure-sdk-for-go/services/aad/mgmt/2017-04-01/aad