Improve error handling across all resources #873
Labels
component-provider-alibaba
Affects Alibaba Cloud provider
component-provider-aws
Affects AWS provider
component-provider-azure
Affects Azure provider
component-provider-gcp
Affects GCP provider
component-provider-oci
Affects Oracle Cloud Infrastructure provider
enhancement
New feature or request
good first issue
Milestone
Currently, facades implement good exception handling, but resource parsing does not. That means that for a given resource type, if parsing fails for any given resource, the
fetch_all
method fails and stops, hence not parsing any additional resources.All resources should be reviewed and updated, to ensure they handle parsing errors.
e.g., for AWS IAM roles (https://github.com/nccgroup/ScoutSuite/blob/master/ScoutSuite/providers/aws/resources/iam/roles.py#L8) the method should be updated as so:
The text was updated successfully, but these errors were encountered: