Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Go] security add directive #23644

Merged
merged 2 commits into from
Apr 20, 2023
Merged

Conversation

Alancere
Copy link
Member

@Alancere Alancere commented Apr 20, 2023

ARM API Information (Control Plane)

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.

NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)

Please follow the link to find more details on PR review process.

@openapi-workflow-bot
Copy link

Hi, @Alancere Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 20, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    compared tags (via openapi-validator v2.0.0) new version base version
    default default(f81a2ba) default(main)
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/security/resource-manager/readme.md
    tag: specification/security/resource-manager/readme.md#tag-package-composite-v3
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️~[Staging] ServiceAPIReadinessTest succeeded [Detail] [Expand]
    Validation passes for ServiceAPIReadinessTest.
    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️TypeSpec Validation succeeded [Detail] [Expand]
    Validation passes for TypeSpec Validation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 20, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-go - sdk/resourcemanager/security/armsecurity - 0.11.0
    +	Function `*ClientFactory.NewConnectorGovernanceRuleClient` has been removed
    +	Function `*ClientFactory.NewConnectorGovernanceRulesClient` has been removed
    +	Function `*ClientFactory.NewConnectorGovernanceRulesExecuteStatusClient` has been removed
    +	Function `*ClientFactory.NewGovernanceRuleClient` has been removed
    +	Function `*ClientFactory.NewSubscriptionGovernanceRulesExecuteStatusClient` has been removed
    +	Function `*ConnectorGovernanceRuleClient.NewListPager` has been removed
    +	Function `*ConnectorGovernanceRulesClient.CreateOrUpdate` has been removed
    +	Function `*ConnectorGovernanceRulesClient.Delete` has been removed
    +	Function `*ConnectorGovernanceRulesClient.Get` has been removed
    +	Function `*ConnectorGovernanceRulesExecuteStatusClient.BeginGet` has been removed
    +	Function `*GovernanceRuleClient.NewListPager` has been removed
    +	Function `*GovernanceRulesClient.BeginRuleIDExecuteSingleSecurityConnector` has been removed
    +	Function `*GovernanceRulesClient.BeginRuleIDExecuteSingleSubscription` has been removed
    +	Function `*GovernanceRulesClient.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, GovernanceRule, *GovernanceRulesClientCreateOrUpdateOptions)` to `(context.Context, string, string, GovernanceRule, *GovernanceRulesClientCreateOrUpdateOptions)`
    +	Function `*GovernanceRulesClient.Get` parameter(s) have been changed from `(context.Context, string, *GovernanceRulesClientGetOptions)` to `(context.Context, string, string, *GovernanceRulesClientGetOptions)`
    +	Function `*SubscriptionGovernanceRulesExecuteStatusClient.BeginGet` has been removed
    +	Function `NewConnectorGovernanceRuleClient` has been removed
    +	Function `NewConnectorGovernanceRulesClient` has been removed
    +	Function `NewConnectorGovernanceRulesExecuteStatusClient` has been removed
    +	Function `NewGovernanceRuleClient` has been removed
    +	Function `NewGovernanceRulesClient` parameter(s) have been changed from `(string, azcore.TokenCredential, *arm.ClientOptions)` to `(azcore.TokenCredential, *arm.ClientOptions)`
    +	Function `NewSubscriptionGovernanceRulesExecuteStatusClient` has been removed
    +	Operation `*GovernanceRulesClient.Delete` has been changed to LRO, use `*GovernanceRulesClient.BeginDelete` instead.
    +	Struct `ExecuteRuleStatus` has been removed
    azure-sdk-for-js - @azure/arm-security - 6.0.0-beta.4
    +	Interface AlertsSuppressionRulesListNextOptionalParams no longer has parameter alertType
    +	Interface DefenderForServersAwsOfferingArcAutoProvisioning no longer has parameter servicePrincipalSecretMetadata
    +	Interface IotSecuritySolutionListByResourceGroupNextOptionalParams no longer has parameter filter
    +	Interface IotSecuritySolutionListBySubscriptionNextOptionalParams no longer has parameter filter
    +	Interface IotSecuritySolutionsAnalyticsAggregatedAlertListNextOptionalParams no longer has parameter top
    +	Interface IotSecuritySolutionsAnalyticsRecommendationListNextOptionalParams no longer has parameter top
    +	Interface RegulatoryComplianceAssessmentsListNextOptionalParams no longer has parameter filter
    +	Interface RegulatoryComplianceControlsListNextOptionalParams no longer has parameter filter
    +	Interface RegulatoryComplianceStandardsListNextOptionalParams no longer has parameter filter
    +	Interface SecureScoreControlsListBySecureScoreNextOptionalParams no longer has parameter expand
    +	Interface SecureScoreControlsListNextOptionalParams no longer has parameter expand
    +	Interface TasksListByHomeRegionNextOptionalParams no longer has parameter filter
    +	Interface TasksListByResourceGroupNextOptionalParams no longer has parameter filter
    +	Interface TasksListNextOptionalParams no longer has parameter filter
    +	Operation AllowedConnections.get has a new signature
    +	Removed Enum KnownAlertNotifications
    +	Removed Enum KnownAlertsToAdmins
    +	Removed operation Alerts.simulate
    +	Removed operation SecurityContacts.update
    +	Type of parameter value of interface ExternalSecuritySolutionList is changed from ExternalSecuritySolutionUnion[] to ExternalSecuritySolution[]

    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs]Release - Generate from e716082. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:671
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 671 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGet-ChildItem: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:759
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 759 | �[0m … rtifacts += �[36;1mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mCannot find path
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1mit does not exist.
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:671
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 671 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk artifact
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    • Azure.ResourceManager.SecurityCenter [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from e716082. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sdk/resourcemanager/security/armsecurity [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 120 items here, please refer to log for details.
      info	[Changelog] - Function `NewConnectorGovernanceRulesExecuteStatusClient` has been removed
      info	[Changelog] - Function `*ConnectorGovernanceRulesExecuteStatusClient.BeginGet` has been removed
      info	[Changelog] - Function `NewGovernanceRuleClient` has been removed
      info	[Changelog] - Function `*GovernanceRuleClient.NewListPager` has been removed
      info	[Changelog] - Function `*GovernanceRulesClient.BeginRuleIDExecuteSingleSecurityConnector` has been removed
      info	[Changelog] - Function `*GovernanceRulesClient.BeginRuleIDExecuteSingleSubscription` has been removed
      info	[Changelog] - Function `NewSubscriptionGovernanceRulesExecuteStatusClient` has been removed
      info	[Changelog] - Function `*SubscriptionGovernanceRulesExecuteStatusClient.BeginGet` has been removed
      info	[Changelog] - Operation `*GovernanceRulesClient.Delete` has been changed to LRO, use `*GovernanceRulesClient.BeginDelete` instead.
      info	[Changelog] - Struct `ExecuteRuleStatus` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New value `CloudNameGitLab` added to enum type `CloudName`
      info	[Changelog] - New value `EnvironmentTypeGitlabScope` added to enum type `EnvironmentType`
      info	[Changelog] - New value `OfferingTypeCspmMonitorGitLab`, `OfferingTypeDefenderForDevOpsGitLab` added to enum type `OfferingType`
      info	[Changelog] - New enum type `Code` with values `CodeFailed`, `CodeSucceeded`
      info	[Changelog] - New enum type `IsEnabled` with values `IsEnabledFalse`, `IsEnabledTrue`
      info	[Changelog] - New enum type `MipIntegrationStatus` with values `MipIntegrationStatusNoAutoLabelingRules`, `MipIntegrationStatusNoConsent`, `MipIntegrationStatusNoMipLabels`, `MipIntegrationStatusOk`
      info	[Changelog] - New enum type `OperationResult` with values `OperationResultCanceled`, `OperationResultFailed`, `OperationResultSucceeded`
      info	[Changelog] - New enum type `ScopeName` with values `ScopeNameClusters`, `ScopeNameConnectors`, `ScopeNameUnknown`, `ScopeNameVirtualMachines`
      info	[Changelog] - New enum type `StatusName` with values `StatusNameHealthy`, `StatusNameNotApplicable`, `StatusNameNotHealthy`
      info	[Changelog] - New function `NewAPICollectionClient(string, azcore.TokenCredential, *arm.ClientOptions) (*APICollectionClient, error)`
      info	[Changelog] - New function `*APICollectionClient.Get(context.Context, string, string, string, *APICollectionClientGetOptions) (APICollectionClientGetResponse, error)`
      info	[Changelog] - New function `*APICollectionClient.NewListPager(string, string, *APICollectionClientListOptions) *runtime.Pager[APICollectionClientListResponse]`
      info	[Changelog] - New function `NewAPICollectionOffboardingClient(string, azcore.TokenCredential, *arm.ClientOptions) (*APICollectionOffboardingClient, error)`
      info	[Changelog] - New function `*APICollectionOffboardingClient.Delete(context.Context, string, string, string, *APICollectionOffboardingClientDeleteOptions) (APICollectionOffboardingClientDeleteResponse, error)`
      info	[Changelog] - New function `NewAPICollectionOnboardingClient(string, azcore.TokenCredential, *arm.ClientOptions) (*APICollectionOnboardingClient, error)`
      info	[Changelog] - New function `*APICollectionOnboardingClient.Create(context.Context, string, string, string, *APICollectionOnboardingClientCreateOptions) (APICollectionOnboardingClientCreateResponse, error)`
      info	[Changelog] - New function `NewCenterClient(azcore.TokenCredential, *arm.ClientOptions) (*CenterClient, error)`
      info	[Changelog] - New function `*CenterClient.GetSensitivitySettings(context.Context, *CenterClientGetSensitivitySettingsOptions) (CenterClientGetSensitivitySettingsResponse, error)`
      info	[Changelog] - New function `*CenterClient.UpdateSensitivitySettings(context.Context, UpdateSensitivitySettingsRequest, *CenterClientUpdateSensitivitySettingsOptions) (CenterClientUpdateSensitivitySettingsResponse, error)`
      info	[Changelog] - New function `*ClientFactory.NewAPICollectionClient() *APICollectionClient`
      info	[Changelog] - New function `*ClientFactory.NewAPICollectionOffboardingClient() *APICollectionOffboardingClient`
      info	[Changelog] - New function `*ClientFactory.NewAPICollectionOnboardingClient() *APICollectionOnboardingClient`
      info	[Changelog] - New function `*ClientFactory.NewCenterClient() *CenterClient`
      info	[Changelog] - New function `*ClientFactory.NewHealthReportClient() *HealthReportClient`
      info	[Changelog] - New function `*ClientFactory.NewHealthReportsClient() *HealthReportsClient`
      info	[Changelog] - New function `*ClientFactory.NewOperatorsClient() *OperatorsClient`
      info	[Changelog] - New function `*ClientFactory.NewSensitivitySettingsClient() *SensitivitySettingsClient`
      info	[Changelog] - New function `*CspmMonitorGitLabOffering.GetCloudOffering() *CloudOffering`
      info	[Changelog] - New function `*DefenderForDevOpsGitLabOffering.GetCloudOffering() *CloudOffering`
      info	[Changelog] - New function `*GitlabScopeEnvironmentData.GetEnvironmentData() *EnvironmentData`
      info	[Changelog] - New function `*GovernanceRulesClient.BeginExecute(context.Context, string, string, *GovernanceRulesClientBeginExecuteOptions) (*runtime.Poller[GovernanceRulesClientExecuteResponse], error)`
      info	[Changelog] - New function `*GovernanceRulesClient.NewListPager(string, *GovernanceRulesClientListOptions) *runtime.Pager[GovernanceRulesClientListResponse]`
      info	[Changelog] - New function `*GovernanceRulesClient.OperationResults(context.Context, string, string, string, *GovernanceRulesClientOperationResultsOptions) (GovernanceRulesClientOperationResultsResponse, error)`
      info	[Changelog] - New function `NewHealthReportClient(azcore.TokenCredential, *arm.ClientOptions) (*HealthReportClient, error)`
      info	[Changelog] - New function `*HealthReportClient.Get(context.Context, string, string, *HealthReportClientGetOptions) (HealthReportClientGetResponse, error)`
      info	[Changelog] - New function `NewHealthReportsClient(azcore.TokenCredential, *arm.ClientOptions) (*HealthReportsClient, error)`
      info	[Changelog] - New function `*HealthReportsClient.NewListPager(string, *HealthReportsClientListOptions) *runtime.Pager[HealthReportsClientListResponse]`
      info	[Changelog] - New function `NewOperatorsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*OperatorsClient, error)`
      info	[Changelog] - New function `*OperatorsClient.CreateOrUpdate(context.Context, string, string, *OperatorsClientCreateOrUpdateOptions) (OperatorsClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `*OperatorsClient.Delete(context.Context, string, string, *OperatorsClientDeleteOptions) (OperatorsClientDeleteResponse, error)`
      info	[Changelog] - New function `*OperatorsClient.Get(context.Context, string, string, *OperatorsClientGetOptions) (OperatorsClientGetResponse, error)`
      info	[Changelog] - New function `*OperatorsClient.List(context.Context, string, *OperatorsClientListOptions) (OperatorsClientListResponse, error)`
      info	[Changelog] - New function `NewSensitivitySettingsClient(azcore.TokenCredential, *arm.ClientOptions) (*SensitivitySettingsClient, error)`
      info	[Changelog] - New function `*SensitivitySettingsClient.List(context.Context, *SensitivitySettingsClientListOptions) (SensitivitySettingsClientListResponse, error)`
      info	[Changelog] - New struct `APICollectionProperties`
      info	[Changelog] - New struct `APICollectionResponse`
      info	[Changelog] - New struct `APICollectionResponseList`
      info	[Changelog] - New struct `BuiltInInfoType`
      info	[Changelog] - New struct `CspmMonitorGitLabOffering`
      info	[Changelog] - New struct `DefenderCspmAwsOfferingDataSensitivityDiscovery`
      info	[Changelog] - New struct `DefenderCspmAwsOfferingDatabasesDspm`
      info	[Changelog] - New struct `DefenderFoDatabasesAwsOfferingArcAutoProvisioningConfiguration`
      info	[Changelog] - New struct `DefenderFoDatabasesAwsOfferingDatabasesDspm`
      info	[Changelog] - New struct `DefenderForDatabasesGcpOfferingArcAutoProvisioningConfiguration`
      info	[Changelog] - New struct `DefenderForDevOpsGitLabOffering`
      info	[Changelog] - New struct `DefenderForServersAwsOfferingArcAutoProvisioningConfiguration`
      info	[Changelog] - New struct `DefenderForServersGcpOfferingArcAutoProvisioningConfiguration`
      info	[Changelog] - New struct `DefenderForServersGcpOfferingVMScanners`
      info	[Changelog] - New struct `DefenderForServersGcpOfferingVMScannersConfiguration`
      info	[Changelog] - New struct `EnvironmentDetails`
      info	[Changelog] - New struct `ErrorDetail`
      info	[Changelog] - New struct `ErrorDetailAutoGenerated`
      info	[Changelog] - New struct `ErrorResponse`
      info	[Changelog] - New struct `ErrorResponseAutoGenerated`
      info	[Changelog] - New struct `Extension`
      info	[Changelog] - New struct `GetSensitivitySettingsListResponse`
      info	[Changelog] - New struct `GetSensitivitySettingsResponse`
      info	[Changelog] - New struct `GetSensitivitySettingsResponseProperties`
      info	[Changelog] - New struct `GetSensitivitySettingsResponsePropertiesMipInformation`
      info	[Changelog] - New struct `GitlabScopeEnvironmentData`
      info	[Changelog] - New struct `GovernanceRuleMetadata`
      info	[Changelog] - New struct `HealthDataClassification`
      info	[Changelog] - New struct `HealthReport`
      info	[Changelog] - New struct `HealthReportProperties`
      info	[Changelog] - New struct `HealthReportsList`
      info	[Changelog] - New struct `Identity`
      info	[Changelog] - New struct `InfoType`
      info	[Changelog] - New struct `Issue`
      info	[Changelog] - New struct `Label`
      info	[Changelog] - New struct `OperationResultAutoGenerated`
      info	[Changelog] - New struct `OperationStatus`
      info	[Changelog] - New struct `OperatorList`
      info	[Changelog] - New struct `OperatorResource`
      info	[Changelog] - New struct `ResourceDetailsAutoGenerated`
      info	[Changelog] - New struct `StatusAutoGenerated`
      info	[Changelog] - New struct `UpdateSensitivitySettingsRequest`
      info	[Changelog] - New field `AccountName` in struct `AwsEnvironmentData`
      info	[Changelog] - New field `Regions` in struct `AwsEnvironmentData`
      info	[Changelog] - New field `DataSensitivityDiscovery` in struct `DefenderCspmAwsOffering`
      info	[Changelog] - New field `DatabasesDspm` in struct `DefenderCspmAwsOffering`
      info	[Changelog] - New field `DatabasesDspm` in struct `DefenderFoDatabasesAwsOffering`
      info	[Changelog] - New field `Configuration` in struct `DefenderFoDatabasesAwsOfferingArcAutoProvisioning`
      info	[Changelog] - New field `Configuration` in struct `DefenderForDatabasesGcpOfferingArcAutoProvisioning`
      info	[Changelog] - New field `Configuration` in struct `DefenderForServersAwsOfferingArcAutoProvisioning`
      info	[Changelog] - New field `VMScanners` in struct `DefenderForServersGcpOffering`
      info	[Changelog] - New field `Configuration` in struct `DefenderForServersGcpOfferingArcAutoProvisioning`
      info	[Changelog] - New field `OrganizationName` in struct `GcpOrganizationalDataOrganization`
      info	[Changelog] - New field `ProjectName` in struct `GcpProjectDetails`
      info	[Changelog] - New field `ExcludedScopes` in struct `GovernanceRuleProperties`
      info	[Changelog] - New field `IncludeMemberScopes` in struct `GovernanceRuleProperties`
      info	[Changelog] - New field `Metadata` in struct `GovernanceRuleProperties`
      info	[Changelog] - New field `TenantID` in struct `GovernanceRuleProperties`
      info	[Changelog] - New field `EnablementTime` in struct `PricingProperties`
      info	[Changelog] - New field `Extensions` in struct `PricingProperties`
      info	[Changelog] - New field `LastScanTime` in struct `ScanProperties`
      info	[Changelog]
      info	[Changelog] Total 25 breaking change(s), 160 additive change(s).
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from e716082. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]  notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.5.0 -> 9.6.5
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.5>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@9.6.5` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-security [View full logs]  [Release SDK Changes]
      info	[Changelog] change log generation failed!!!
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from e716082. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-security [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 120 items here, please refer to log for details.
      info	[Changelog]   - Added Type Alias APICollectionGetResponse
      info	[Changelog]   - Added Type Alias APICollectionListNextResponse
      info	[Changelog]   - Added Type Alias APICollectionListResponse
      info	[Changelog]   - Added Type Alias APICollectionOnboardingCreateResponse
      info	[Changelog]   - Added Type Alias ApplicationConditionOperator
      info	[Changelog]   - Added Type Alias ApplicationCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias ApplicationGetResponse
      info	[Changelog]   - Added Type Alias ApplicationsListNextResponse
      info	[Changelog]   - Added Type Alias ApplicationsListResponse
      info	[Changelog]   - Added Type Alias ApplicationSourceResourceType
      info	[Changelog]   - Added Type Alias AwsOrganizationalDataUnion
      info	[Changelog]   - Added Type Alias Code
      info	[Changelog]   - Added Type Alias ConnectionType
      info	[Changelog]   - Added Type Alias EnvironmentDataUnion
      info	[Changelog]   - Added Type Alias EnvironmentType
      info	[Changelog]   - Added Type Alias GcpOrganizationalDataUnion
      info	[Changelog]   - Added Type Alias GetSensitivitySettingsOperationResponse
      info	[Changelog]   - Added Type Alias GovernanceAssignmentsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias GovernanceAssignmentsGetResponse
      info	[Changelog]   - Added Type Alias GovernanceAssignmentsListNextResponse
      info	[Changelog]   - Added Type Alias GovernanceAssignmentsListResponse
      info	[Changelog]   - Added Type Alias GovernanceRuleConditionOperator
      info	[Changelog]   - Added Type Alias GovernanceRuleOwnerSourceType
      info	[Changelog]   - Added Type Alias GovernanceRulesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias GovernanceRulesExecuteResponse
      info	[Changelog]   - Added Type Alias GovernanceRulesGetResponse
      info	[Changelog]   - Added Type Alias GovernanceRulesListNextResponse
      info	[Changelog]   - Added Type Alias GovernanceRulesListResponse
      info	[Changelog]   - Added Type Alias GovernanceRulesOperationResultsResponse
      info	[Changelog]   - Added Type Alias GovernanceRuleSourceResourceType
      info	[Changelog]   - Added Type Alias GovernanceRuleType
      info	[Changelog]   - Added Type Alias HealthReportGetResponse
      info	[Changelog]   - Added Type Alias HealthReportsListNextResponse
      info	[Changelog]   - Added Type Alias HealthReportsListResponse
      info	[Changelog]   - Added Type Alias IsEnabled
      info	[Changelog]   - Added Type Alias MinimalSeverity
      info	[Changelog]   - Added Type Alias MipIntegrationStatus
      info	[Changelog]   - Added Type Alias OperationResult
      info	[Changelog]   - Added Type Alias Roles
      info	[Changelog]   - Added Type Alias ScanningMode
      info	[Changelog]   - Added Type Alias ScopeName
      info	[Changelog]   - Added Type Alias SecurityConnectorApplicationCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias SecurityConnectorApplicationGetResponse
      info	[Changelog]   - Added Type Alias SecurityConnectorApplicationsListNextResponse
      info	[Changelog]   - Added Type Alias SecurityConnectorApplicationsListResponse
      info	[Changelog]   - Added Type Alias SecurityOperatorsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias SecurityOperatorsGetResponse
      info	[Changelog]   - Added Type Alias SecurityOperatorsListResponse
      info	[Changelog]   - Added Type Alias SensitivitySettingsListResponse
      info	[Changelog]   - Added Type Alias StatusName
      info	[Changelog]   - Added Type Alias SubPlan
      info	[Changelog]   - Added Type Alias Type
      info	[Changelog]   - Added Type Alias UpdateSensitivitySettingsResponse
      info	[Changelog]   - Interface AlertsSimulateOptionalParams has a new optional parameter resumeFrom
      info	[Changelog]   - Interface AlertsSimulateOptionalParams has a new optional parameter updateIntervalInMs
      info	[Changelog]   - Interface DefenderForServersAwsOfferingArcAutoProvisioning has a new optional parameter cloudRoleArn
      info	[Changelog]   - Interface DefenderForServersAwsOfferingArcAutoProvisioning has a new optional parameter configuration
      info	[Changelog]   - Interface ScanProperties has a new optional parameter lastScanTime
      info	[Changelog]   - Type of parameter offeringType of interface CloudOffering is changed from "CspmMonitorAws" | "DefenderForContainersAws" | "DefenderForServersAws" | "InformationProtectionAws" to "CspmMonitorAws" | "DefenderForContainersAws" | "DefenderForServersAws" | "DefenderForDatabasesAws" | "InformationProtectionAws" | "CspmMonitorGcp" | "DefenderForServersGcp" | "DefenderForDatabasesGcp" | "DefenderForContainersGcp" | "CspmMonitorGithub" | "CspmMonitorAzureDevOps" | "DefenderCspmAws" | "DefenderCspmGcp" | "DefenderForDevOpsGithub" | "DefenderForDevOpsAzureDevOps" | "CspmMonitorGitLab" | "DefenderForDevOpsGitLab"
      info	[Changelog]   - Added Enum KnownApplicationConditionOperator
      info	[Changelog]   - Added Enum KnownApplicationSourceResourceType
      info	[Changelog]   - Added Enum KnownCode
      info	[Changelog]   - Added Enum KnownEnvironmentType
      info	[Changelog]   - Added Enum KnownGovernanceRuleConditionOperator
      info	[Changelog]   - Added Enum KnownGovernanceRuleOwnerSourceType
      info	[Changelog]   - Added Enum KnownGovernanceRuleSourceResourceType
      info	[Changelog]   - Added Enum KnownGovernanceRuleType
      info	[Changelog]   - Added Enum KnownIsEnabled
      info	[Changelog]   - Added Enum KnownMinimalSeverity
      info	[Changelog]   - Added Enum KnownMipIntegrationStatus
      info	[Changelog]   - Added Enum KnownOperationResult
      info	[Changelog]   - Added Enum KnownRoles
      info	[Changelog]   - Added Enum KnownScanningMode
      info	[Changelog]   - Added Enum KnownScopeName
      info	[Changelog]   - Added Enum KnownStatusName
      info	[Changelog]   - Added Enum KnownSubPlan
      info	[Changelog]   - Added Enum KnownType
      info	[Changelog]   - Enum KnownAlertStatus has a new value InProgress
      info	[Changelog]   - Enum KnownBundleType has a new value CosmosDbs
      info	[Changelog]   - Enum KnownCloudName has a new value AzureDevOps
      info	[Changelog]   - Enum KnownCloudName has a new value Github
      info	[Changelog]   - Enum KnownCloudName has a new value GitLab
      info	[Changelog]   - Enum KnownOfferingType has a new value CspmMonitorAzureDevOps
      info	[Changelog]   - Enum KnownOfferingType has a new value CspmMonitorGcp
      info	[Changelog]   - Enum KnownOfferingType has a new value CspmMonitorGithub
      info	[Changelog]   - Enum KnownOfferingType has a new value CspmMonitorGitLab
      info	[Changelog]   - Enum KnownOfferingType has a new value DefenderCspmAws
      info	[Changelog]   - Enum KnownOfferingType has a new value DefenderCspmGcp
      info	[Changelog]   - Enum KnownOfferingType has a new value DefenderForContainersGcp
      info	[Changelog]   - Enum KnownOfferingType has a new value DefenderForDatabasesAws
      info	[Changelog]   - Enum KnownOfferingType has a new value DefenderForDatabasesGcp
      info	[Changelog]   - Enum KnownOfferingType has a new value DefenderForDevOpsAzureDevOps
      info	[Changelog]   - Enum KnownOfferingType has a new value DefenderForDevOpsGithub
      info	[Changelog]   - Enum KnownOfferingType has a new value DefenderForDevOpsGitLab
      info	[Changelog]   - Enum KnownOfferingType has a new value DefenderForServersGcp
      info	[Changelog]   - Enum KnownSettingName has a new value WdatpUnifiedSolution
      info	[Changelog]   - Added function getContinuationToken
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation Alerts.simulate
      info	[Changelog]   - Removed operation SecurityContacts.update
      info	[Changelog]   - Operation AllowedConnections.get has a new signature
      info	[Changelog]   - Interface AlertsSuppressionRulesListNextOptionalParams no longer has parameter alertType
      info	[Changelog]   - Interface DefenderForServersAwsOfferingArcAutoProvisioning no longer has parameter servicePrincipalSecretMetadata
      info	[Changelog]   - Interface IotSecuritySolutionListByResourceGroupNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface IotSecuritySolutionListBySubscriptionNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface IotSecuritySolutionsAnalyticsAggregatedAlertListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface IotSecuritySolutionsAnalyticsRecommendationListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface RegulatoryComplianceAssessmentsListNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface RegulatoryComplianceControlsListNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface RegulatoryComplianceStandardsListNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface SecureScoreControlsListBySecureScoreNextOptionalParams no longer has parameter expand
      info	[Changelog]   - Interface SecureScoreControlsListNextOptionalParams no longer has parameter expand
      info	[Changelog]   - Interface TasksListByHomeRegionNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface TasksListByResourceGroupNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface TasksListNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Type of parameter value of interface ExternalSecuritySolutionList is changed from ExternalSecuritySolutionUnion[] to ExternalSecuritySolution[]
      info	[Changelog]   - Removed Enum KnownAlertNotifications
      info	[Changelog]   - Removed Enum KnownAlertsToAdmins
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from e716082. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.1
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.1
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
    • ️✔️azure-resourcemanager-security [View full logs]  [Release SDK Changes]
    ️❌ azure-resource-manager-schemas failed [Detail]
    • Failed [Logs]Release - Generate from e716082. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh]
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
      warn	No file changes detected after generation
    • security/resource-manager [View full logs
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from e716082. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    • Az.security.DefaultTag [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 20, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/security/armsecurity https://apiview.dev/Assemblies/Review/b32b22c0751e4e2ab9318b6c9b44ac45
    Java azure-resourcemanager-security https://apiview.dev/Assemblies/Review/4bb8db88578a4e5395a66f8a25b3c4e7
    JavaScript @azure/arm-security https://apiview.dev/Assemblies/Review/9114163bf38342fb99b2b4e59b3588be

    @Alancere Alancere requested a review from tadelesh April 20, 2023 05:58
    @tadelesh tadelesh merged commit e716082 into Azure:main Apr 20, 2023
    suxi-ms pushed a commit that referenced this pull request Apr 24, 2023
    * [Go] security add directive
    
    * deduplication
    JoshLove-msft pushed a commit to JoshLove-msft/azure-rest-api-specs that referenced this pull request Apr 25, 2023
    * [Go] security add directive
    
    * deduplication
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants