-
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
dev-Sentinel-2022-07-01-preview #19641
Conversation
…w/2022-06-01-preview to version 2022-07-01-preview
…19391) * added Nic entity type + modified IoTDevice props * updated GetIoTDeviceEntity example fields * ran 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.6)] | new version | base version |
---|---|---|
AlertRules.json | 2022-07-01(6747583) | 2021-10-01(main) |
AlertRules.json | 2022-07-01(6747583) | 2022-06-01(main) |
AutomationRules.json | 2022-07-01(6747583) | 2021-10-01(main) |
AutomationRules.json | 2022-07-01(6747583) | 2022-06-01(main) |
Bookmarks.json | 2022-07-01(6747583) | 2021-10-01(main) |
Bookmarks.json | 2022-07-01(6747583) | 2022-06-01(main) |
Enrichment.json | 2022-07-01(6747583) | 2022-06-01(main) |
Entities.json | 2022-07-01(6747583) | 2022-06-01(main) |
EntityQueries.json | 2022-07-01(6747583) | 2022-06-01(main) |
EntityQueryTemplates.json | 2022-07-01(6747583) | 2022-06-01(main) |
Incidents.json | 2022-07-01(6747583) | 2021-10-01(main) |
Incidents.json | 2022-07-01(6747583) | 2022-06-01(main) |
Metadata.json | 2022-07-01(6747583) | 2022-06-01(main) |
OfficeConsents.json | 2022-07-01(6747583) | 2022-06-01(main) |
OnboardingStates.json | 2022-07-01(6747583) | 2021-10-01(main) |
OnboardingStates.json | 2022-07-01(6747583) | 2022-06-01(main) |
SecurityMLAnalyticsSettings.json | 2022-07-01(6747583) | 2022-06-01(main) |
Settings.json | 2022-07-01(6747583) | 2022-06-01(main) |
SourceControls.json | 2022-07-01(6747583) | 2022-06-01(main) |
ThreatIntelligence.json | 2022-07-01(6747583) | 2021-10-01(main) |
ThreatIntelligence.json | 2022-07-01(6747583) | 2022-06-01(main) |
Watchlists.json | 2022-07-01(6747583) | 2021-10-01(main) |
Watchlists.json | 2022-07-01(6747583) | 2022-06-01(main) |
AlertTypes.json | 2022-07-01(6747583) | 2021-10-01(main) |
AlertTypes.json | 2022-07-01(6747583) | 2022-06-01(main) |
EntityTypes.json | 2022-07-01(6747583) | 2021-10-01(main) |
EntityTypes.json | 2022-07-01(6747583) | 2022-06-01(main) |
IncidentTypes.json | 2022-07-01(6747583) | 2021-10-01(main) |
IncidentTypes.json | 2022-07-01(6747583) | 2022-06-01(main) |
RelationTypes.json | 2022-07-01(6747583) | 2022-06-01(main) |
ThreatIntelligenceTypes.json | 2022-07-01(6747583) | 2022-06-01(main) |
dataConnectors.json | 2022-07-01(6747583) | 2022-06-01(main) |
operations.json | 2022-07-01(6747583) | 2021-10-01(main) |
operations.json | 2022-07-01(6747583) | 2022-06-01(main) |
The following breaking changes are detected by comparison with the latest stable version:
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️
LintDiff: 3 Warnings warning [Detail]
compared tags (via openapi-validator v1.13.0) | new version | base version |
---|---|---|
package-preview-2022-07 | package-preview-2022-07(6747583) | default(main) |
The following errors/warnings are introduced by current PR:
Rule | Message |
---|---|
Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isAuthorized Location: preview/2022-07-01-preview/common/EntityTypes.json#L1089 |
|
Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isProgramming Location: preview/2022-07-01-preview/common/EntityTypes.json#L1094 |
|
Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isScanner Location: preview/2022-07-01-preview/common/EntityTypes.json#L1099 |
The following errors/warnings exist before current PR submission:
Only 27 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-07-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-07-01-preview/EntityQueryTemplates.json#L292 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-07-01-preview/Bookmarks.json#L566 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-07-01-preview/EntityQueryTemplates.json#L234 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-07-01-preview/Incidents.json#L1020 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-07-01-preview/Incidents.json#L1119 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-07-01-preview/Metadata.json#L581 |
R4041 - XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.SecurityInsights/preview/2022-07-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-07-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-07-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-07-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-07-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-07-01-preview/Settings.json#L176 |
|
Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.SecurityInsights/preview/2022-07-01-preview/Entities.json#L1114 |
|
Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.SecurityInsights/preview/2022-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-01-preview/SourceControls.json#L48 |
|
OperationId should contain the verb: 'dataconnectorscheckrequirements' in:'DataConnectorsCheckRequirements_Post'. Consider updating the operationId Location: Microsoft.SecurityInsights/preview/2022-07-01-preview/dataConnectors.json#L458 |
|
OperationId should contain the verb: 'gettimeline' in:'EntitiesGetTimeline_list'. Consider updating the operationId Location: Microsoft.SecurityInsights/preview/2022-07-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-07-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-07-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-07-01-preview/common/RelationTypes.json#L30 |
️️✔️
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 [email protected] or https://aka.ms/swaggersupport. |
️⚠️
SDK Track2 Validation: 57 Warnings warning [Detail]
- The following tags are being changed in this PR
Only 27 items are listed, please refer to log for more details.
Rule | Message |
---|---|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Using directive.0.suppress which is deprecated and will be removed in the future." |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Using directive.1.suppress which is deprecated and will be removed in the future." |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > QueryBasedAlertRuleTemplateProperties > properties > alertDetailsOverride)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > FusionSourceSubTypeSetting > properties > severityFilters)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > FusionAlertRuleTemplate > properties > properties)\n keys: [ \u001b[32m'required'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > FusionAlertRuleTemplateProperties > properties > status)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > FusionTemplateSourceSubType > properties > severityFilter)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > MicrosoftSecurityIncidentCreationAlertRuleTemplate > properties > properties)\n keys: [ \u001b[32m'required'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > NrtAlertRuleProperties > properties > alertDetailsOverride)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > ScheduledAlertRuleTemplateProperties > properties > status)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > ScheduledAlertRuleTemplateProperties > properties > alertDetailsOverride)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > ScheduledAlertRuleTemplate > properties > properties)\n keys: [ \u001b[32m'required'\u001b[39m, \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > ScheduledAlertRuleCommonProperties > properties > alertDetailsOverride)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > AutomationRule > properties > properties)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > AutomationRuleModifyPropertiesAction > properties > actionConfiguration)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > AutomationRuleRunPlaybookAction > properties > actionConfiguration)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PropertyArrayChangedConditionProperties > properties > conditionProperties)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PropertyChangedConditionProperties > properties > conditionProperties)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PropertyConditionProperties > properties > conditionProperties)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > BookmarkProperties > properties > createdBy)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > BookmarkProperties > properties > updatedBy)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > BookmarkProperties > properties > incidentInfo)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > BookmarkProperties > properties > entityMappings)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > IncidentCommentProperties > properties > author)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > IncidentProperties > properties > additionalData)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > IncidentProperties > properties > classification)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
|
"readme":"securityinsights/resource-manager/readme.md", "tag":"package-preview-2022-07", "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > IncidentProperties > properties > classificationReason)\n keys: [ \u001b[32m'type'\u001b[39m ]" |
️️✔️
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
|
Please note all PRs to this branch have already been reviewed and approved by Swagger team and ARM. No need for addition ARM review.