How to resolve aws config non-compliant rules

0

I tried to find problems in the AWS environment through AWS config. The config pack I used is operational-best-practices-for-cis. Many other rules passed as compliant, but one rule iamsupportpolicyinuse-conformance-pack is displayed as out of compliance. Many attempts have been made to change the rule into compliance. The 'aws support access' policy was added to the accounts, groups, and roles used in iam and reevaluated, but it is marked as non-compliant. Is there any other solution?? I will attach an image. Non-compliance policy config rule pack name aws support acces policy added to iam group I added the same policy again to other iam accounts. Add aws support access to role I only added it to roles I created. We added this policy to iam accounts, groups, and roles.

질문됨 2달 전189회 조회
1개 답변
2

I've tried it and figured out that attaching IAM policy arn:aws:iam::aws:policy/AWSSupportAccess to IAM user is not enough. I've attached it to one group and one IAM role, reevaluated the AWS Config rule, and it became Compliant

profile picture
전문가
답변함 2달 전
profile picture
전문가
Artem
검토됨 2달 전
  • Thank you for answer. But I didn't understand it properly. To all user groups and roles in iam Do I need to attach the arn:aws:iam::aws:policy/AWSSupportAccess policy? The way I did it IAM policy - Check the AWSSupportAccess checkbox - Actions - Connect - Check everything that appears in the IAM entity - Attach policy This will attach the AWSSupportAccess policy to all IAM ROLEs and user groups. Of course, it is only added to the ROLE I created, not the ROLE created by AWS. If you then re-evaluate your AWS CONFIG, it will be marked as non-compliant.

  • You don't need to add AWSSupportAccess policy to ALL IAM users and group 1 user and 1 group is enough

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠