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

New API version to Microsoft.Security 2021-11-01 #18045

Merged
merged 13 commits into from
Mar 22, 2022
Merged

New API version to Microsoft.Security 2021-11-01 #18045

merged 13 commits into from
Mar 22, 2022

Conversation

nitsi
Copy link
Contributor

@nitsi nitsi commented Mar 1, 2022

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

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.
    Tomarrow.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
    As soon as ARM deploy the manifest changes
  4. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

Validation tool https://github.blog/changelog/2022-02-22-sunset-notice-deprecated-teams-api-endpoints/
Got an approval for the Breaking Change from Jeffrey Richter on the weekly office hours, I'll ask him to sign it.

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 label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. 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 any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

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

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

@openapi-workflow-bot
Copy link

Hi, @nitsi 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. [email protected]

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 1, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    The following errors/warnings exist before current PR submission:
    Rule Message
    R4039 - ParametersOrder The parameters:ascLocation,resourceGroupName should be kept in the same order as they present in the path.
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L161
    R4039 - ParametersOrder The parameters:ascLocation,alertName,resourceGroupName should be kept in the same order as they present in the path.
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L248
    R4039 - ParametersOrder The parameters:ascLocation,alertName,resourceGroupName should be kept in the same order as they present in the path.
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L410
    R4039 - ParametersOrder The parameters:ascLocation,alertName,resourceGroupName should be kept in the same order as they present in the path.
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L452
    R4039 - ParametersOrder The parameters:ascLocation,alertName,resourceGroupName should be kept in the same order as they present in the path.
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L494
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L805
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L855
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L885
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L998
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isIncident
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L893
    ⚠️ R4030 - UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: Update security alert state on a subscription from a security data location
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L333
    ⚠️ R4030 - UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: Update security alert state on a subscription from a security data location
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L372
    ⚠️ R4030 - UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: Update security alert state on a resource group from a security data location
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L453
    ⚠️ R4030 - UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: Update security alert state on a resource group from a security data location
    Location: Microsoft.Security/stable/2021-11-01/alerts.json#L495
    ️❌Avocado: 6 Errors, 1 Warnings failed [Detail]
    Rule Message
    NOT_LATEST_API_VERSION_IN_DEFAULT_TAG The default tag does not contains the latest API version. Please make sure the latest api version swaggers are in the default tag.
    readme: specification/security/resource-manager/readme.md
    json: Microsoft.Security/preview/2020-01-01-preview/secureScore.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.
    readme: specification/security/resource-manager/readme.md
    json: Microsoft.Security/preview/2017-08-01-preview/pricings.json
    NOT_LATEST_API_VERSION_IN_DEFAULT_TAG The default tag does not contains the latest API version. Please make sure the latest api version swaggers are in the default tag.
    readme: specification/security/resource-manager/readme.md
    json: Microsoft.Security/preview/2020-01-01-preview/securityContacts.json
    NOT_LATEST_API_VERSION_IN_DEFAULT_TAG The default tag does not contains the latest API version. Please make sure the latest api version swaggers are in the default tag.
    readme: specification/security/resource-manager/readme.md
    json: Microsoft.Security/preview/2021-12-01-preview/securityConnectors.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.
    readme: specification/security/resource-manager/readme.md
    json: Microsoft.Security/preview/2021-08-01-preview/assignments.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.
    readme: specification/security/resource-manager/readme.md
    json: Microsoft.Security/preview/2021-08-01-preview/standards.json
    ⚠️ 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
    ️️✔️~[Staging] ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️❌Cross-Version Breaking Changes: 2 Errors, 40 Warnings failed [Detail]
    The following breaking changes are detected by comparison with the latest stable version:
    Rule Message
    1011 - AddingResponseCode The new version adds a response code '204'.
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L562:11
    1044 - XmsLongRunningOperationChanged The new version has a different 'x-ms-longrunning-operation' value than the previous one.
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L536:7
    Old: Microsoft.Security/stable/2021-01-01/alerts.json#L536:7


    The following breaking changes are detected by comparison with latest preview version:

    Only 30 items are listed, please refer to log for more details.

    Rule Message
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/reactivate' removed or restructured?
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L367:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/reactivate' removed or restructured?
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L448:5
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ODataExpand' removed or renamed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L1096:3
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L710:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ODataSelect' removed or renamed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L1096:3
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L710:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ODataFilter' removed or renamed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L1096:3
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L710:3
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Alerts_ListSubscriptionLevelAlertsByRegion' to 'Alerts_ListSubscriptionLevelByRegion'. This will impact generated code.
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L119:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L137:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Alerts_ListResourceGroupLevelAlertsByRegion' to 'Alerts_ListResourceGroupLevelByRegion'. This will impact generated code.
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L161:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L188:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Alerts_GetSubscriptionLevelAlert' to 'Alerts_GetSubscriptionLevel'. This will impact generated code.
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L206:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L242:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Alerts_GetResourceGroupLevelAlerts' to 'Alerts_GetResourceGroupLevel'. This will impact generated code.
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L248:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L284:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Alerts_UpdateSubscriptionLevelAlertStateToDismiss' to 'Alerts_UpdateSubscriptionLevelStateToDismiss'. This will impact generated code.
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L293:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L329:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Alerts_UpdateResourceGroupLevelAlertStateToDismiss' to 'Alerts_UpdateResourceGroupLevelStateToDismiss'. This will impact generated code.
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L452:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L407:7
    ⚠️ 1026 - TypeChanged The new version has a different type 'array' than the previous one 'string'.
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L813:9
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L565:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'string' than the previous one 'object'.
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L615:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L706:7
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L885:9
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L632:9
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'state' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'reportedTimeUtc' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'alertName' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'detectedTimeUtc' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'actionTaken' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'reportedSeverity' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'associatedResource' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'systemSource' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'canBeInvestigated' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'confidenceScore' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'confidenceReasons' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'subscriptionId' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'instanceId' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'workspaceArmId' renamed or removed?
    New: Microsoft.Security/stable/2021-11-01/alerts.json#L641:7
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L527:7
    ⚠️ 1046 - RemovedOptionalParameter The optional parameter '$filter' was removed in the new version.
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L49:9
    ⚠️ 1046 - RemovedOptionalParameter The optional parameter '$select' was removed in the new version.
    Old: Microsoft.Security/preview/2015-06-01-preview/alerts.json#L49:9
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️SDK Track2 Validation succeeded [Detail]
    The following errors/warnings exist before current PR submission:
    Rule Message
    "readme":"security/resource-manager/readme.md",
    "tag":"package-composite-v3",
    "details":"Error: Plugin prechecker reported failure."
    ️️✔️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).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot openapi-workflow-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Mar 1, 2022
    @openapi-workflow-bot
    Copy link

    Hi, @nitsi your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]).

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 1, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️❌SDK Breaking Change Tracking failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-go-track2 succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️⚠️ azure-sdk-for-python-track2 warning [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️⚠️ azure-sdk-for-js warning [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️⚠️ azure-resource-manager-schemas warning [Detail]

    Only 0 items are rendered, please refer to log for more details.

    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @nitsi, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @nitsi
    Copy link
    Contributor Author

    nitsi commented Mar 1, 2022

    Hello @ruowan,
    This PR contains a breaking change that was approve during the breaking changes office hours.
    I sent an email to Jeffrey Richter to approve this PR with it's breaking change.

    Is there anything else you need from me?

    @JeffreyRichter JeffreyRichter added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Mar 1, 2022
    @ruowan
    Copy link
    Member

    ruowan commented Mar 2, 2022

    You are adding new apis, your PR need arm review

    @mentat9
    Copy link
    Member

    mentat9 commented Mar 7, 2022

    @nitsi - A couple of things before your PR is ready for ARM review:

    1. Please study the materials described in the submission form and attest to that by checking the box:

    [ ] 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.

    1. Please create a new PR following this requirement (and check the box when you submit):

    [ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.

    Note: if you don't want to use OpenAPIHub to set up your new API version PR, please create it manually by copying the current API version files [unmodified] to the new API version folder and commit that as your first commit of the PR. Apply other changes in subsequent commits.

    @mentat9 mentat9 added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Mar 7, 2022
    nitsi and others added 6 commits March 8, 2022 09:56
    pick 5459ef18a7 New API version to Microsoft.Security
    pick c8462f9c60 [Microsoft.Security alerts] fix examples/Alerts/SimulateAlerts_example.json
    pick b5f4550d6b [Microsoft.Security alerts] add missing API to readme.md
    @nitsi
    Copy link
    Contributor Author

    nitsi commented Mar 15, 2022

    @ruowan it seems there is a problem with the Avocado check:

    Rule Message My Reply
    ❌ NOT_LATEST_API_VERSION_IN_DEFAULT_TAG The default tag does not contains the latest API version. Please make sure the latest api version swaggers are in the default tag.readme: specification/security/resource-manager/readme.mdjson: Microsoft.Security/preview/2020-01-01-preview/secureScore.json using stable version 2020-01-01 which is newer
    ❌ MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.readme: specification/security/resource-manager/readme.mdjson: Microsoft.Security/preview/2017-08-01-preview/pricings.json using stable version 2022-03-01, it is not missing
    ❌ MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.readme: specification/security/resource-manager/readme.mdjson: Microsoft.Security/preview/2021-08-01-preview/assignments.json There is a suppression on that, it was ignored until now.
    ❌ MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.readme: specification/security/resource-manager/readme.mdjson: Microsoft.Security/preview/2021-08-01-preview/standards.json There is a suppression on that, it was ignored until now

    @ruowan
    Copy link
    Member

    ruowan commented Mar 16, 2022

    Thanks for feedback. I add approvedAvocado label.

    @ruowan
    Copy link
    Member

    ruowan commented Mar 16, 2022

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @nitsi
    Copy link
    Contributor Author

    nitsi commented Mar 17, 2022

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @nitsi
    Copy link
    Contributor Author

    nitsi commented Mar 17, 2022

    @ruowan can we marge?

    @ruowan
    Copy link
    Member

    ruowan commented Mar 22, 2022

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @ruowan ruowan merged commit 69e8e7f into Azure:main Mar 22, 2022
    FredericHeem pushed a commit to grucloud/azure-rest-api-specs that referenced this pull request May 16, 2022
    * Adds base for updating Microsoft.Security from version stable/2021-01-01 to version 2021-11-01
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * New API version to Microsoft.Security
    
    pick 5459ef18a7 New API version to Microsoft.Security
    pick c8462f9c60 [Microsoft.Security alerts] fix examples/Alerts/SimulateAlerts_example.json
    pick b5f4550d6b [Microsoft.Security alerts] add missing API to readme.md
    
    * [Microsoft.Security alerts] fix examples/Alerts/SimulateAlerts_example.json
    
    * [Microsoft.Security alerts] add missing API to readme.md
    
    * Fix readme.md file after rebase
    
    * Removing "x-ms-long-running-operation" header
    
    * Setting target package back to package-composite-v3
    
    * Updating securityContacts.json to the latest version
    
    * Reverting securityContacts.json to equal main, should be updated by the relevant team
    
    Co-authored-by: Nitsan Bracha <[email protected]>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-Avocado Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go-V2 CI-BreakingChange-JavaScript CI-FixRequiredOnFailure
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants