In the recipe, we scheduled Inspector to run checks weekly. We can manually run checks as follows:
- Go to the Assessment templates page.
- Select our assessment template.
- Click Run.
The steps to configure notifications for Inspector using CloudWatch and SNS can be summarized as follows:
- Go to the CloudWatch service in the console.
- Click on Rules under Events to go to the Rules page.
From the Assessment templates page of Inspector, we can click on Create Assessment Events to directly go to the CloudWatch Rules page.
- Click on Create rule to go to the Create rule page.
- Under the Event Source section, do the following:
- Select Event Pattern.
- For Service Name, select Inspector.
- For Event Type, select All Events.
- Under Targets ...