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

FeatureNotSupportedForAccount error is not ignored for applicable Storage related tables #404

Closed
cbruno10 opened this issue Nov 18, 2021 · 0 comments · Fixed by #418
Closed
Assignees
Labels
bug Something isn't working

Comments

@cbruno10
Copy link
Contributor

cbruno10 commented Nov 18, 2021

Describe the bug
For storage accounts, e.g., premium file shares, that don't support blob endpoints, we can't create blob services clients for them, resulting in the error:

 Service returned an error. Status=400 Code="FeatureNotSupportedForAccount" Message="Blob is not supported for the account.

We should ignore the FeatureNotSupportedForAccount error code for the list and/or get calls if it's safe (need to make sure this error isn't returned for other storage related errors). If not safe to ignore generally, we can handle this code and message pairing specifically in the code for each table.

Steampipe version (steampipe -v)
v0.9.1

Plugin version (steampipe plugin list)
v0.20.0

To reproduce

  • Create a Storage storage account v1 that doesn't support blob endpoints
  • Run select * from azure_storage_container

Expected behavior
Empty rows should be returned.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
4 participants