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

[Hub Generated] Review request for Microsoft.Security to add version preview/2023-10-01-preview #25655

Merged

add scan interval to examples

240750e
Select commit
Loading
Failed to load commit list.
Merged

[Hub Generated] Review request for Microsoft.Security to add version preview/2023-10-01-preview #25655

add scan interval to examples
240750e
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger LintDiff succeeded Oct 23, 2023 in 3m 35s

Swagger LintDiff succeeded

Details

compared tags (via openapi-validator v2.1.6) new version base version
package-composite-v3 package-composite-v3(240750e) package-composite-v3(main)

[must fix]The following errors/warnings are introduced by current PR:

Rule Message Related RPC [For API reviewers]
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L814
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L818
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L828
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L832
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1354
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1358
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1372
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1376
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1490
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1494
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1504
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1520
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1524
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1534
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1538
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1560
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1578
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1582
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1586
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1612
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1616
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1630
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1634
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1648
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1652


The following errors/warnings exist before current PR submission:
Only 50 items are listed, please refer to log for more details.

Rule Message
ResourceNameRestriction The resource name parameter 'securityConnectorName' should be defined with a 'pattern' restriction.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L118
UnSupportedPatchProperties Mark the top-level property 'location', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. These properties are not patchable.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L232
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L49
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L88
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L130
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L170
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L219
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L262
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L323
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L715
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L737
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L747
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L757
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L767
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L777
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L787
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L797
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L801
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L854
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L864
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L868
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L876
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L892
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L896
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L900
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L920
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L924
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L928
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L935
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L953
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L957
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L961
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1003
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1007
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1015
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1031
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1035
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1045
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1049
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1071
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1093
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1119
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1133
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1137
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1141
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1157
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1161
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1165
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1185
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json#L1189