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

Issue running the service screener #62

Closed
sames2020 opened this issue Feb 24, 2024 · 2 comments
Closed

Issue running the service screener #62

sames2020 opened this issue Feb 24, 2024 · 2 comments

Comments

@sames2020
Copy link

Describe the bug
encouter.
[!! WARNING !!] Rule rds::SnapshotTooOld is not available in reporter, please submit an issue to github.

To Reproduce
Steps to reproduce the behavior:

  1. Run the following command
    python3 -m venv .
    source bin/activate
    python3 -m pip install --upgrade pip
    rm -rf service-screener-v2
    git clone https://github.com/aws-samples/service-screener-v2.git
    cd service-screener-v2
    pip install -r requirements.txt
    alias screener="python3 $(pwd)/main.py"
  2. Run service screener
    screener --regions ALL

Full commands used to reproduce this bug
screener --regions ALL

Expected behavior
To be able to generated an output.

Screenshots

PREPARING -- CLOUDFRONT::us-east-1
Skipped runtime version check due to unable to locate runtime option path
... (Lambda) inspecting aws-controltower-NotificationForwarder
... (EBS) inspecting vol-03af1b0988a9ff1a1
Skipped runtime version check due to unable to locate runtime option path
... (Lambda) inspecting cwsyn-influasia-heartbeat-341f6852-5ff8-43a9-9888-223a23842bb6
... (EBS) inspecting vol-0136fc860832f318e
... (EBS) inspecting vol-027f8718245a01a10
Skipped runtime version check due to unable to locate runtime option path
... (Lambda) inspecting ECSScheduler
... (EBS) inspecting vol-0ed44c61609253ee4
... (EBS) inspecting vol-059869a83b59a98bf
Skipped runtime version check due to unable to locate runtime option path
... (Lambda) inspecting ecs-task-scheduler-by-tag
... (EBS::Snapshots) inspecting
Skipped runtime version check due to unable to locate runtime option path
... (ELB::Load Balancer) inspecting wof-load-balancer
... (Lambda) inspecting testingecs
... (ELB::Load Balancer) inspecting ALB-common
Skipped runtime version check due to unable to locate runtime option path
COMPLETED -- LAMBDA::ap-southeast-1 (5.004s)
Unable to capture S3 MFA settings: AccessDenied
Unable to capture S3 Logging settings: AccessDenied
IAM Users scan will be skip, unable to acquire IamCredentialReports
DynamodbpageBuilder class not found, using default pageBuilder
S3pageBuilder class not found, using default pageBuilder
EfspageBuilder class not found, using default pageBuilder
OpensearchpageBuilder class not found, using default pageBuilder
CloudfrontpageBuilder class not found, using default pageBuilder
LambdapageBuilder class not found, using default pageBuilder
CloudtrailpageBuilder class not found, using default pageBuilder
EkspageBuilder class not found, using default pageBuilder

[!! WARNING !!] Rule rds::SnapshotTooOld is not available in reporter, please submit an issue to github.
Traceback (most recent call last):
File "/home/cloudshell-user/service-screener-v2/main.py", line 274, in
Screener.generateScreenerOutput(runmode, contexts, hasGlobal, regions, uploadToS3, bucket)
File "/home/cloudshell-user/service-screener-v2/Screener.py", line 171, in generateScreenerOutput
reporter.process(resultSets).getSummary().getDetails()
File "/home/cloudshell-user/service-screener-v2/services/Reporter.py", line 186, in getSummary
dashboard['CATEGORY'][region][mainCategory][critical] += itemSize
KeyError: 'X'

AWS CloudShell (please complete the following information):

  • Region: us-east-1
  • Python version Python 3.9.1
  • AWS SDK version (boto3) 1.26.165
  • Browser (to display output) chrome

Additional context
Add any other context about the problem here.

@kuettai
Copy link
Contributor

kuettai commented Feb 25, 2024

Acknowledged. Will take a look in next day.

kuettai added a commit to kuettai/service-screener-v2 that referenced this issue Mar 1, 2024
kuettai added a commit that referenced this issue Mar 1, 2024
Tagging supports #55 and Fixed issue #62
@kuettai
Copy link
Contributor

kuettai commented Mar 1, 2024

Resolved in #64

@kuettai kuettai closed this as completed Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants