내용으로 건너뛰기

Running CIS scan AL2023

0

Hello, I am trying to run a CIS scan using Inspector V2. The needed permissions are assigned to the instance (AL2023). At the CIS screen, I can create a new scan, and it is started, and then completed, but there are no results printed for me. Also, when downloading the report, I get the (Finding Details) without any results. SSM Agent is up to date. Amazon EC2 instance is running. Operating system is supported. Connectivity to Systems Manager is configured. Systems Manager associations and software application are configured.

2개 답변
1

Hi,

Did you check your inventory under Fleet manager in System manager to make sure that there are software packages?

https://repost.aws/knowledge-center/amazon-inspector-ec2-scanning

전문가

답변함 2년 전

  • It is already there, yes. The message I can see in the CIS scan results is "No checks No checks to display" Does this mean the Instance is eligible for the CIS scan? I don't think that. The only (Association) in the pending status at the (AWS-QuickSetup-SSMHostMgmt-CollectInventory-iyuxc) I found articles saying this for the insufficient privileges, but over AWS documents no one mentioned any policies other than (AmazonSSMManagedInstanceCore & AmazonInspector2ManagedCispolicy), which already added to the IAM of my instance. I am using AL2023 OS! The (vulnerability scan) works as expected, I can see (No findings) for this, but the CIS scan (No checks to display).

0

Hello, did you manage to sort this issue? I am encountering a similar issue setting up CIS scans

답변함 2년 전

  • Yes, I have resolved the issue. You need to make sure of the (Tag). For example, if your ec2 instance is launched with tag (Name) = test-cis At the Inspector creation scan screen, make sure to use this key (Name) with the correct value. Don't miss to consider the other needed things (Permissions: To grant permissions to run CIS scans, attach the “AmazonSSMManagedInstanceCore” and the “AmazonInspector2ManagedCispolicy” IAM policies to the EC2 instance profile role).

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

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

관련 콘텐츠