-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add ignore_error_codes config arg and update all tables to use IgnoreConfig instead of ShouldIgnoreError in GetConfig closes #494 #495
Conversation
…onfig instead of ShouldIgnoreError in GetConfig closes #494
azure/errors.go
Outdated
"github.com/turbot/steampipe-plugin-sdk/v3/plugin" | ||
) | ||
|
||
// isNotFoundError:: function which returns an ErrorPredicate for AWS API calls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// isNotFoundError:: function which returns an ErrorPredicate for AWS API calls | |
// isNotFoundError:: function which returns an ErrorPredicate for Azure API calls |
|
||
# List of additional Azure error codes to ignore for all queries. | ||
# By default, common not found error codes are ignored and will still be ignored even if this argument is not set. | ||
#ignore_error_codes = ["NoAuthenticationInformation", "InvalidAuthenticationInfo", "AccountIsDisabled", "UnauthorizedOperation", "UnrecognizedClientException", "AuthorizationError", "AuthenticationFailed", "InsufficientAccountPermissions"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the same changes are needed in docs/index.md
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to be.
Can you please include config/azure.spc
changes in docs/index.md
file too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Integration test logs
Logs
Example query results
Results
output.txt
output1.txt
azure_policy_assignment: Integration test fix in variables.tf, and get call fixed with
azure_public_ip: Integration test fix
azure_lb_nat_rule: fixed in integration test
azure_app_service_web_app: Hydrated config
azure_compute_virtual_machine: Hydrated config
azure_mssql_elasticpool: Used same package as parent hydrate use
azure_mysql_flexible_server: added parent hydrate as resource_group because the list call was not working without resource group.
table_azure_public_ip: ListAll API call was not working List is working so changed the API call
table_azure_storage_share_file: Empty check logic was wrong changed it