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

Dev sentinel securityinsights microsoft.security insights 2024 09 01 #30800

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Added tag for 2024-09-01 in readme file

10c0b73
Select commit
Loading
Failed to load commit list.
Open

Dev sentinel securityinsights microsoft.security insights 2024 09 01 #30800

Added tag for 2024-09-01 in readme file
10c0b73
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger LintDiff failed Sep 30, 2024 in 5m 31s

Swagger LintDiff failed

LintDiff: 26 Errors, 261 Warnings
View Azure DevOps build log for more details.

Details

Compared specs (v2.2.3) new version base version
package-2024-09 package-2024-09(10c0b73) default(main)

[must fix]The following errors/warnings are introduced by current PR:
Only 50 items are listed, please refer to log for more details.

Rule Message Related RPC [For API reviewers]
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L1208
RPC-Policy-V1-05, RPC-Put-V1-23
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L1610
RPC-Policy-V1-05, RPC-Put-V1-23
ResourceNameRestriction The resource name parameter 'relationName' should be defined with a 'pattern' restriction.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Incidents.json#L646
RPC-Uri-V1-05
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L51
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L54
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L57
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L102
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L105
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L108
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L151
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L154
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L157
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L203
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L206
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L209
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L248
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L251
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L254
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L296
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L299
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L302
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L342
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L345
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L348
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L397
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L400
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L403
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L445
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L448
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L451
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L490
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L493
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L496
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L582
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L673
⚠️ DeprecatedXmsCodeGenerationSetting The x-ms-code-generation-setting extension is being deprecated. Please remove it and move settings to readme file for code generation.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L7
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L51
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L54
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L57
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L96
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L99
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L102
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L139
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L142
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L145
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L191
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L194
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L197
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/ContentPackages.json#L51
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2024-09-01/ContentPackages.json#L54


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

Rule Message
PutRequestResponseSchemeArm A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'Actions_CreateOrUpdate' Request Model: 'parameters[6].schema' Response Model: 'responses[200].schema'
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L329
DeleteResponseBodyEmpty The delete response body must be empty.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L151
DeleteResponseBodyEmpty The delete response body must be empty.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L157
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:kind.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Metadata.json#L266
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:tier.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Metadata.json#L266
ResourceNameRestriction The resource name parameter 'sentinelOnboardingStateName' should be defined with a 'pattern' restriction.
Location: Microsoft.SecurityInsights/stable/2024-09-01/OnboardingStates.json#L37
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.SecurityInsights/stable/2024-09-01/OnboardingStates.json#L178
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.SecurityInsights/stable/2024-09-01/OnboardingStates.json#L206
OperationsApiSchemaUsesCommonTypes Operations API path must follow the schema provided in the common types.
Location: Microsoft.SecurityInsights/stable/2024-09-01/operations.json#L58
ResourceNameRestriction The resource name parameter 'settingsResourceName' should be defined with a 'pattern' restriction.
Location: Microsoft.SecurityInsights/stable/2024-09-01/SecurityMLAnalyticsSettings.json#L82
PathForResourceAction Path for 'post' method on a resource type MUST follow valid resource naming.
Location: Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json#L37
PostResponseCodes Synchronous POST operations must have one of the following combinations of responses - 200 and default ; 204 and default. They also must not have other response codes.
Location: Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json#L38
EvenSegmentedPathForPutOperation API path with PUT operation defined MUST have even number of segments (i.e. end in {resourceType}/{resourceName} segments).
Location: Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json#L145
PutRequestResponseSchemeArm A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'ThreatIntelligenceIndicator_Create' Request Model: 'parameters[5].schema' Response Model: 'responses[200].schema'
Location: Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json#L189
PathForResourceAction Path for 'post' method on a resource type MUST follow valid resource naming.
Location: Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json#L285
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json#L334
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json#L362
PathForResourceAction Path for 'post' method on a resource type MUST follow valid resource naming.
Location: Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json#L375
PathForResourceAction Path for 'post' method on a resource type MUST follow valid resource naming.
Location: Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json#L420
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json#L707
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json#L805
RepeatedPathInfo The 'watchlistAlias' already appears in the path, please don't repeat it in the request body.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Watchlists.json#L199
RepeatedPathInfo The 'watchlistItemId' already appears in the path, please don't repeat it in the request body.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Watchlists.json#L399
⚠️ MissingSegmentsInNestedResourceListOperation A nested resource type's List operation must include all the parent segments in its api path.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L37
⚠️ MissingSegmentsInNestedResourceListOperation A nested resource type's List operation must include all the parent segments in its api path.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json#L431
⚠️ 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.SecurityInsights/stable/2024-09-01/AlertRules.json#L827
⚠️ 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.SecurityInsights/stable/2024-09-01/AlertRules.json#L1027
⚠️ 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.SecurityInsights/stable/2024-09-01/AlertRules.json#L1333
⚠️ 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.SecurityInsights/stable/2024-09-01/AlertRules.json#L1350
⚠️ 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.SecurityInsights/stable/2024-09-01/AlertRules.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.SecurityInsights/stable/2024-09-01/AlertRules.json#L1466
⚠️ 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.SecurityInsights/stable/2024-09-01/AlertRules.json#L1481
⚠️ MissingSegmentsInNestedResourceListOperation A nested resource type's List operation must include all the parent segments in its api path.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L175
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L390
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L570
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L602
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L619
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L691
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L713
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L740
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L1095
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L1115
⚠️ 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.SecurityInsights/stable/2024-09-01/AutomationRules.json#L1158
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L1186
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L1217
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L1298
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L1361
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L1457
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json#L1479
⚠️ MissingSegmentsInNestedResourceListOperation A nested resource type's List operation must include all the parent segments in its api path.
Location: Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json#L37