Azure / Azure/azure-rest-api-specs

The policyDefinitionId property of Security.AssessmentMetadata shouldn't exists in request body since it's read-only property

Open
#12,359 1 comment 0 reactions 0 assignees View on GitHub
Security Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

After confirmed with service team, they said the [policyDefinitionId](https://github.com/Azure/azure-rest-api-specs/blob/ffc5119f58e1e302748bd21aff7bc01acd2b6d13/specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/AssessmentsMetadata/CreateAssessmentsMetadata_subscription_example.json#L9) property of Security.AssessmentMetadata shouldn't exists in request body since it's [read-only property](https://github.com/Azure/azure-rest-api-specs/blob/e91876ba404442fff976aa934016380794cf8c92/specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/assessmentMetadata.json#L305). So filed an issue here to fix this document issue.

Contributor guide

Open the contributing guide

Research direction

Review specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/AssessmentsMetadata/CreateAssessmentsMetadata_subscription_example.json and the policyDefinitionId definition in assessmentMetadata.json. Confirm the property is read-only and that the request example no longer includes it.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.