You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2018. It is now read-only.
Failed to process rule defined in cloudtrail-no-global-services-logging.json
Traceback (most recent call last):
File "./Scout2.py", line 235, in <module>
sys.exit(main(args))
File "./Scout2.py", line 169, in main
aws_config['services'][service]['violations'][rule]['flagged_items'] = len(aws_config['services'][service]['violations'][rule]['items'])
KeyError: 'items'
If I remove cloudtrail-no-global-services-logging from default ruleset I got:
Analyzing AWS config...
Traceback (most recent call last):
File "./Scout2.py", line 235, in <module>
sys.exit(main(args))
File "./Scout2.py", line 174, in main
tweak_cloudtrail_findings(aws_config)
File "/home/thor/Radialpoint/development/source/AWS/Scout2/AWSScout2/utils_cloudtrail.py", line 19, in tweak_cloudtrail_findings
if len(aws_config['services']['cloudtrail']['violations']['cloudtrail-no-global-services-logging']['items']) != aws_config['services']['cloudtrail']['violations']['cloudtrail-no-global-services-logging']['checked_items']:
KeyError: 'cloudtrail-no-global-services-logging'