-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
release-securityinsights-Microsoft.SecurityInsights-2022-10-01-preview #20858
Merged
dw511214992
merged 6 commits into
main
from
release-securityinsights-Microsoft.SecurityInsights-2022-10-01-preview
Sep 28, 2022
Merged
release-securityinsights-Microsoft.SecurityInsights-2022-10-01-preview #20858
dw511214992
merged 6 commits into
main
from
release-securityinsights-Microsoft.SecurityInsights-2022-10-01-preview
Sep 28, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…w/2022-09-01-preview to version 2022-10-01-preview
… and techniques (#20665) * Added SecurityAlertTimelineItem Intent and techiques * changed intent to enum * reran prettier Co-authored-by: Natanel Mizrahi <[email protected]>
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. [email protected] |
Swagger Validation Report
|
compared swaggers (via Oad v0.9.7)] | new version | base version |
---|---|---|
AlertRules.json | 2022-10-01-preview(95bc5bb) | 2022-08-01(main) |
AlertRules.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
AutomationRules.json | 2022-10-01-preview(95bc5bb) | 2022-08-01(main) |
AutomationRules.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
Bookmarks.json | 2022-10-01-preview(95bc5bb) | 2022-08-01(main) |
Bookmarks.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
Enrichment.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
Entities.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
EntityQueries.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
EntityQueryTemplates.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
FileImports.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
Incidents.json | 2022-10-01-preview(95bc5bb) | 2022-08-01(main) |
Incidents.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
Metadata.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
OfficeConsents.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
OnboardingStates.json | 2022-10-01-preview(95bc5bb) | 2022-08-01(main) |
OnboardingStates.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
SecurityMLAnalyticsSettings.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
Settings.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
SourceControls.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
ThreatIntelligence.json | 2022-10-01-preview(95bc5bb) | 2022-08-01(main) |
ThreatIntelligence.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
Watchlists.json | 2022-10-01-preview(95bc5bb) | 2022-08-01(main) |
Watchlists.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
AlertTypes.json | 2022-10-01-preview(95bc5bb) | 2022-08-01(main) |
AlertTypes.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
EntityTypes.json | 2022-10-01-preview(95bc5bb) | 2022-08-01(main) |
EntityTypes.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
IncidentTypes.json | 2022-10-01-preview(95bc5bb) | 2022-08-01(main) |
IncidentTypes.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
RelationTypes.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
ThreatIntelligenceTypes.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
dataConnectors.json | 2022-10-01-preview(95bc5bb) | 2022-09-01-preview(main) |
operations.json | 2022-10-01-preview(95bc5bb) | 2022-08-01(main) |
operations.json | 2022-10-01-preview(95bc5bb) | 2022-09-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-10 | package-preview-2022-10(95bc5bb) | 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-10-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-10-01-preview/EntityQueryTemplates.json#L292 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-10-01-preview/Bookmarks.json#L566 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-10-01-preview/EntityQueryTemplates.json#L234 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-10-01-preview/Incidents.json#L1020 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-10-01-preview/Incidents.json#L1119 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-10-01-preview/Metadata.json#L581 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-10-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-10-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-10-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-10-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-10-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-10-01-preview/Settings.json#L176 |
|
Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.SecurityInsights/preview/2022-10-01-preview/Entities.json#L1114 |
|
Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.SecurityInsights/preview/2022-10-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-10-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-10-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-10-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-10-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-10-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-10-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-10-01-preview/SourceControls.json#L48 |
|
OperationId should contain the verb: 'dataconnectorscheckrequirements' in:'DataConnectorsCheckRequirements_Post'. Consider updating the operationId Location: Microsoft.SecurityInsights/preview/2022-10-01-preview/dataConnectors.json#L458 |
|
OperationId should contain the verb: 'gettimeline' in:'EntitiesGetTimeline_list'. Consider updating the operationId Location: Microsoft.SecurityInsights/preview/2022-10-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-10-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-10-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-10-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-10-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-10-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-10-01-preview/AutomationRules.json#L1188 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ApiReadinessCheck succeeded [Detail] [Expand]
️️✔️
~[Staging] ServiceAPIReadinessTest succeeded [Detail] [Expand]
Validation passes for ServiceAPIReadinessTest.
️️✔️
~[Staging] TrafficValidation 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 [email protected] 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/95bc5bb7657702c4cd7344a6d3749beca4d35e25/specification/securityinsights/resource-manager/readme.md#tag-package-preview-2022-10">securityinsights/resource-manager/readme.md#package-preview-2022-10
Rule | Message |
---|---|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-10", "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-10", "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-10-01-preview/ThreatIntelligence.json#/components/schemas/components·1qaufw0·schemas·threatintelligenceindicatorproperties·properties·extensions·additionalproperties" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-10", "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-10-01-preview/Watchlists.json#/components/schemas/components·2sbdb2·schemas·watchlistitemproperties·properties·itemskeyvalue·additionalproperties" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-10", "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-10-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.
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
|
Generated ApiView
|
This was referenced Sep 24, 2022
This was referenced Sep 24, 2022
dw511214992
approved these changes
Sep 28, 2022
dw511214992
deleted the
release-securityinsights-Microsoft.SecurityInsights-2022-10-01-preview
branch
September 28, 2022 08:00
This was referenced Sep 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please note all PRs to this branch have already been reviewed and approved by Swagger team and ARM. No need for addition ARM review.