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

Security.ServerVulnerabilityAssessment API failed to delete the Server Vulnerability Assessment #12308

Open
neil-yechenwei opened this issue Jan 7, 2021 · 2 comments
Labels
Security Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@neil-yechenwei
Copy link

neil-yechenwei commented Jan 7, 2021

After tested, API failed to delete the Server Vulnerability Assessment and threw below error message. After confirmed with service team, seems it's a bug. Hopes it could be fixed by service team asap since we're blocked on this issue.

DELETE https://management.azure.com/subscriptions/xx-xx-xx-xx/resourceGroups/xxxxxx/providers/Microsoft.Compute/virtualMachines/xxxxx/providers/Microsoft.Security/serverVulnerabilityAssessments/default

Error message:
security.ServerVulnerabilityAssessmentClient#Delete: Failure responding to request: StatusCode=202 -- Original Error: autorest/azure: error response cannot be parsed: "" error: EOF
@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jan 7, 2021
@PhoenixHe-NV PhoenixHe-NV added Security Service Attention Workflow: This issue is responsible by Azure service team. labels Jan 7, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jan 7, 2021
@ghost
Copy link

ghost commented Jan 7, 2021

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @chlahav.

Issue Details

After tested, API failed to delete the Server Vulnerability Assessment and threw below error message. After confirmed with service team, seems it's a bug. Hopes it could be fixed by service team asap since we're blocked on this issue.

DELETE https://management.azure.com/subscriptions/xx-xx-xx-xx/resourceGroups/xxxxxx/providers/Microsoft.Compute/virtualMachines/xxxxx/providers/Microsoft.Security/serverVulnerabilityAssessments/default

Error message:
security.ServerVulnerabilityAssessmentClient#Delete: Failure responding to request: StatusCode=202 -- Original Error: autorest/azure: error response cannot be parsed: "" error: EOF
Author: neil-yechenwei
Assignees: PhoenixHe-msft
Labels:

Security, Service Attention, needs-triage

Milestone: -

@ArcturusZhang
Copy link
Member

This is a swagger bug - this API appears to be an async operation (otherwise it would not return 202 as response code), but it is not marked as long-running-operation in the swagger which results in an SDK with issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Security Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants