aquasecurity / aquasecurity/cloudsploit

Terminating instances lose IAM role

Open
#670 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
751
Avg merge
11d 9h
Merged PRs (30d)
3

Description

From time to time, we see reports of Instances without an IAM role. The instance is usually either missing or terminated when we go look at it. We think that the role gets detached from the instance before it is completely terminated (but during termination) and the scan picks it up if the scan runs at just the right time.

It usually goes away on the subsequent scan.

We think that instances in the termination process should be ignored by the Instance IAM Role plugin.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Instance IAM Role plugin and reading how it evaluates instances during termination. Reproduce or inspect a scan involving an instance in the termination process, then verify that such instances are ignored while active instances without an IAM role are still reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
cloud, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.