We can create an assessment target as follows:
- Go to the Inspector service in the console.
If you are logging in for the first time and see a Get started page, refer to the Setting up and using Amazon Inspector recipe.
- Click Assessment targets from the left sidebar.
- In the Amazon Inspector - Assessment Targets page, click Create.
- For All Instances, uncheck Include all EC2 instances in this AWS account and region.
- For Use Tags, click on Add a new key and select the Key and Value we created for our EC2 instance in the Getting ready section. Our assessment target creation screen should look like the following screenshot:
- Click on Preview.
- In the Resources for assessment target screen, verify the instances and click ...