Skip to content

Error while scanning IAM #226

@awswa

Description

@awswa

Describe the bug
I notice an error while the SS was running as follows:

Traceback (most recent call last):
File "/Users//Downloads/0.slack/service-screener-v2/services/Evaluator.py", line 108, in run
getattr(self, method)()
~~~~~~~~~~~~~~~~~~~~~^^
File "/Users/
/Downloads/0.slack/service-screener-v2/services/iam/drivers/IamAccount.py", line 335, in _checkAWSBackupPlans
backupClient = self.ssBoto.client('backup', config=self.bConfig)
^^^^^^^^^^^^
AttributeError: 'IamAccount' object has no attribute 'bConfig'
NoSuchEntity
COMPLETED -- IAM::us-east-1 (135.339s)

To Reproduce
Steps to reproduce the behavior:

  1. Clone Repo
  2. Setup Alias
  3. Run command

Full commands used to reproduce this bug
e.g: screener --regions ALL --services rds,iam,ec2

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

AWS CloudShell (please complete the following information):

  • Region: [e.g. us-east-1]
  • Python version [e.g. 7.2]
  • AWS SDK version (boto3) [e.g. 3.0]
  • Browser (to display output) [e.g. chrome, safari]

Execution Environment (PLEASE FILL THIS UP IF YOU ARE NOT RUNNING THIS IN AWS CLOUDSHELL):

  • Instance type: [e.g. t2.small]
  • OS: [e.g. Linux]
  • EBS volume size [e.g. 20GiB]
  • Region: [e.g. us-east-1]
  • Python version [e.g. 3.8]
  • AWS SDK version (boto3) [e.g. 1.29.3]
  • Browser (to display output) [e.g. chrome, safari]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions