mitre / aws-foundations-cis-baseline

InSpec profile to validate your VPC to the standards of the CIS Amazon Web Services Foundations Benchmark
Other
77 stars 30 forks source link

Fix reporting / test control 1.18 #16

Closed rx294 closed 5 years ago

rx294 commented 5 years ago

PASS -- Master Policy Allow Actions should not be empty
FAILED -- Test: Master Policy Allow Actions 
Message: undefined method `where' for nil:NilClass
PASS -- Master Policy Deny Actions should not be empty
FAILED -- Test: Master Policy Deny Actions 
Message: undefined method `where' for nil:NilClass
FAILED -- Test: Policy iam_master_policy should be attached to role "iam-master-role-name"
Message: undefined method `include?' for nil:NilClass
FAILED -- Test: Assume Role Rolicy actions should not be empty
Message: expected `[].empty?` to return false, got true
PASS -- Assume Role Rolicy actions should be in "sts:AssumeRole", "sts:AssumeRoleWithSAML", and "sts:AssumeRoleWithWebIdentity"
PASS -- Manager Policy Allow Actions should not be empty
FAILED -- Test: Manager Policy Allow Actions 
Message: undefined method `where' for nil:NilClass
PASS -- Manager Policy Deny Actions should not be empty
FAILED -- Test: Manager Policy Deny Actions 
Message: undefined method `where' for nil:NilClass
FAILED -- Test: Policy iam-manager-policy should be attached to role "iam-manager-role-name"
Message: undefined method `include?' for nil:NilClass
FAILED -- Test: Assume Role Rolicy actions should not be empty
Message: expected `[].empty?` to return false, got true
PASS -- Assume Role Rolicy actions should be in "sts:AssumeRole", "sts:AssumeRoleWithSAML", and "sts:AssumeRoleWithWebIdentity"
rx294 commented 5 years ago

Fixed by PR #22