Skip to content

Security API Automations model, has location field incorrectly marked as readOnly #10992

Open

Description

The location field of the Automations model

Has a Location field which is referenced here

This is set to readOnly as true. This is a mistake, this field is not read only and is required by the API to be set when calling it on a create or update operation https://docs.microsoft.com/en-us/rest/api/securitycenter/automations/createorupdate

The downstream result of this is impacting the Go SDK for Azure making that package in the SDK non-functional, it always returns a 400 error Code="LocationRequired" Message="The location property is required for this definition."

See this issue Azure/azure-sdk-for-go#12634

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    SecurityService AttentionWorkflow: This issue is responsible by Azure service team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions