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

[BUG] [sentinel@2022-10-01-preview] the FusionAlertRuleTemplateProperties.Description .lastModifiedUtc , severity and .DisplayName are read-only but not specified #31330

Open
ziyeqf opened this issue Oct 30, 2024 · 1 comment
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Mgmt This issue is related to a management-plane library.

Comments

@ziyeqf
Copy link
Contributor

ziyeqf commented Oct 30, 2024

API Spec link

API Spec version

2022-10-01-preview

Describe the bug

The property is read-only on the service side, try to contains it in payload will result in

unexpected status 400 (400 Bad Request) with error: BadRequest: Read-only property 'description' cannot be assigned. Path 'properties.description'

However it was not specified in Swagger.

Expected behavior

It should have a "readonly:true" specified

Actual behavior

but it does not

Reproduction Steps

call the API with "description" specified.

Environment

No response

@ziyeqf ziyeqf added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Oct 30, 2024
@ziyeqf ziyeqf changed the title [BUG] [sentinel@2022-10-01-preview] the FusionAlertRuleTemplateProperties.Description is read-only but not specified [BUG] [sentinel@2022-10-01-preview] the FusionAlertRuleTemplateProperties.Description and "..DisplayName" is read-only but not specified Oct 30, 2024
@ziyeqf ziyeqf changed the title [BUG] [sentinel@2022-10-01-preview] the FusionAlertRuleTemplateProperties.Description and "..DisplayName" is read-only but not specified [BUG] [sentinel@2022-10-01-preview] the FusionAlertRuleTemplateProperties.Description and .DisplayName is read-only but not specified Oct 30, 2024
@v-jiaodi v-jiaodi added the Mgmt This issue is related to a management-plane library. label Oct 30, 2024
@v-jiaodi
Copy link
Member

@anat-gilenson Please help take a look, thanks.

@ziyeqf ziyeqf changed the title [BUG] [sentinel@2022-10-01-preview] the FusionAlertRuleTemplateProperties.Description and .DisplayName is read-only but not specified [BUG] [sentinel@2022-10-01-preview] the FusionAlertRuleTemplateProperties.Description .lastModifiedUtc , severity and .DisplayName are read-only but not specified Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

No branches or pull requests

3 participants