-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
dev-Sentinel-2022-08-01-preview #19925
Conversation
…w/2022-07-01-preview to version 2022-08-01-preview
* added file imports * . * . * version
Hi, @anat-gilenson Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com |
Swagger Validation Report
|
compared swaggers (via Oad v0.9.6)] | new version | base version |
---|---|---|
AlertRules.json | 2022-08-01-preview(2dcedfa) | 2021-10-01(main) |
AlertRules.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
AutomationRules.json | 2022-08-01-preview(2dcedfa) | 2021-10-01(main) |
AutomationRules.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
Bookmarks.json | 2022-08-01-preview(2dcedfa) | 2021-10-01(main) |
Bookmarks.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
Enrichment.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
Entities.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
EntityQueries.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
EntityQueryTemplates.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
Incidents.json | 2022-08-01-preview(2dcedfa) | 2021-10-01(main) |
Incidents.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
Metadata.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
OfficeConsents.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
OnboardingStates.json | 2022-08-01-preview(2dcedfa) | 2021-10-01(main) |
OnboardingStates.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
SecurityMLAnalyticsSettings.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
Settings.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
SourceControls.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
ThreatIntelligence.json | 2022-08-01-preview(2dcedfa) | 2021-10-01(main) |
ThreatIntelligence.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
Watchlists.json | 2022-08-01-preview(2dcedfa) | 2021-10-01(main) |
Watchlists.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
AlertTypes.json | 2022-08-01-preview(2dcedfa) | 2021-10-01(main) |
AlertTypes.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
EntityTypes.json | 2022-08-01-preview(2dcedfa) | 2021-10-01(main) |
EntityTypes.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
IncidentTypes.json | 2022-08-01-preview(2dcedfa) | 2021-10-01(main) |
IncidentTypes.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
RelationTypes.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
ThreatIntelligenceTypes.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
dataConnectors.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
operations.json | 2022-08-01-preview(2dcedfa) | 2021-10-01(main) |
operations.json | 2022-08-01-preview(2dcedfa) | 2022-07-01-preview(main) |
The following breaking changes are detected by comparison with the latest stable version:
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️
LintDiff: 0 Warnings warning [Detail]
compared tags (via openapi-validator v1.13.0) | new version | base version |
---|---|---|
package-preview-2022-08 | package-preview-2022-08(2dcedfa) | default(main) |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
R2018 - XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/EntityQueries.json#L484 |
R2018 - XmsEnumValidation |
The enum types should have x-ms-enum type extension set with appropriate options. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/EntityQueryTemplates.json#L292 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Bookmarks.json#L566 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/EntityQueryTemplates.json#L234 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Incidents.json#L1020 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Incidents.json#L1119 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Metadata.json#L581 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/operations.json#L83 |
Since operation 'EntitiesQueries' response has model definition 'array', it should be of the form 'list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Entities.json#L291 |
|
Since operation 'EntitiesGetInsights' response has model definition 'array', it should be of the form 'list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Entities.json#L339 |
|
Since operation 'ThreatIntelligenceIndicatorQueryIndicators' response has model definition 'x-ms-pageable', it should be of the form 'list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/ThreatIntelligence.json#L296 |
|
'GET' operation 'Entities_Queries' should use method name 'Get' or Method name start with 'List'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Entities.json#L291 |
|
'PUT' operation 'ProductSettings_Update' should use method name 'Create'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Settings.json#L176 |
|
Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Entities.json#L1114 |
|
Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/ThreatIntelligence.json#L1037 |
|
Based on the response model schema, operation 'Entities_Queries' might be pageable. Consider adding the x-ms-pageable extension. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Entities.json#L281 |
|
Based on the response model schema, operation 'SentinelOnboardingStates_List' might be pageable. Consider adding the x-ms-pageable extension. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/OnboardingStates.json#L178 |
|
Based on the response model schema, operation 'ProductSettings_List' might be pageable. Consider adding the x-ms-pageable extension. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Settings.json#L38 |
|
Based on the response model schema, operation 'ThreatIntelligenceIndicatorMetrics_List' might be pageable. Consider adding the x-ms-pageable extension. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/ThreatIntelligence.json#L334 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'BookmarkModel'. Consider using the plural form of 'Bookmark' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Bookmarks.json#L291 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'DataConnectorsCheckRequirementsModel'. Consider using the plural form of 'DataConnectorsCheckRequirements' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/dataConnectors.json#L458 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'SourceControlModel'. Consider using the plural form of 'SourceControl' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/SourceControls.json#L48 |
|
OperationId should contain the verb: 'dataconnectorscheckrequirements' in:'DataConnectorsCheckRequirements_Post'. Consider updating the operationId Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/dataConnectors.json#L458 |
|
OperationId should contain the verb: 'gettimeline' in:'EntitiesGetTimeline_list'. Consider updating the operationId Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Entities.json#L243 |
|
The child tracked resource, 'relations' with immediate parent 'Bookmark', must have a list by immediate parent operation. Location: preview/2022-08-01-preview/common/RelationTypes.json#L30 |
|
The child tracked resource, 'relations' with immediate parent 'Entity', must have a list by immediate parent operation. Location: preview/2022-08-01-preview/common/RelationTypes.json#L30 |
|
The child tracked resource, 'relations' with immediate parent 'Incident', must have a list by immediate parent operation. Location: preview/2022-08-01-preview/common/RelationTypes.json#L30 |
|
The child tracked resource, 'comments' with immediate parent 'Incident', must have a list by immediate parent operation. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Incidents.json#L942 |
|
The child tracked resource, 'watchlistItems' with immediate parent 'Watchlist', must have a list by immediate parent operation. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/Watchlists.json#L612 |
|
Guid used in model definition 'ManualTriggerRequestBody' for property 'tenantId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board. Location: Microsoft.SecurityInsights/preview/2022-08-01-preview/AutomationRules.json#L1046 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ApiReadinessCheck succeeded [Detail] [Expand]
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️❌
PoliCheck: 1 Errors, 0 Warnings failed [Detail]
Rule | Message |
---|---|
|
Click detail for error messages. Exception contact vsswagger@microsoft.com or https://aka.ms/swaggersupport. |
️⚠️
SDK Track2 Validation: 4 Warnings warning [Detail]
- The following tags are being changed in this PR
- "https://github.com/Azure/azure-rest-api-specs/blob/2dcedfa2ca31b9b84859b8a011b9eda846824731/specification/securityinsights/resource-manager/readme.md#tag-package-preview-2022-08">securityinsights/resource-manager/readme.md#package-preview-2022-08
Rule | Message |
---|---|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-08", "details":"Security scheme azure_auth is unknown and will not be processed. Only supported types are AADToken, AzureKey, Anonymous" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-08", "details":"The schema 'components·1qaufw0·schemas·threatintelligenceindicatorproperties·properties·extensions·additionalproperties' has no type or format information whatsoever. Location:\n file:///mnt/vss/_work/1/azure-rest-api-specs/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-08-01-preview/ThreatIntelligence.json#/components/schemas/components·1qaufw0·schemas·threatintelligenceindicatorproperties·properties·extensions·additionalproperties" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-08", "details":"The schema 'components·2sbdb2·schemas·watchlistitemproperties·properties·itemskeyvalue·additionalproperties' has no type or format information whatsoever. Location:\n file:///mnt/vss/_work/1/azure-rest-api-specs/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-08-01-preview/Watchlists.json#/components/schemas/components·2sbdb2·schemas·watchlistitemproperties·properties·itemskeyvalue·additionalproperties" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-08", "details":"The schema 'components·84fvid·schemas·watchlistitemproperties·properties·entitymapping·additionalproperties' has no type or format information whatsoever. Location:\n file:///mnt/vss/_work/1/azure-rest-api-specs/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-08-01-preview/Watchlists.json#/components/schemas/components·84fvid·schemas·watchlistitemproperties·properties·entitymapping·additionalproperties" |
️️✔️
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.
Swagger Generation Artifacts
|
Hi @anat-gilenson, Your PR has some issues. Please fix the CI sequentially by following the order of
|
/azp run |
Generated ApiView
|
Azure Pipelines successfully started running 1 pipeline(s). |
* fix delete response * example fix Co-authored-by: Moran Raz Mizrahi <morazmiz@microsoft.com>
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@dw511214992 PoliCheck fails due to usage of the word "Orient". In the context it's used, it refers to positioning, which is OK according to documentation. Is there a way to exclude this check for this specific description? |
Please note all PRs to this branch have already been reviewed and approved by Swagger team and ARM. No need for addition ARM review.