I have deployed an EC2 virtual scanner for an AWS environment.
I also configured the connector to 'activate' newly discovered assets for VM (Vulnerability Management).
That will typically work in a 'stable' environment where AWS instances are not terminated.
However, after some time I'm running into an issue that 'terminated' AWS instances are still consuming VM licenses.
I read an article online that suggests going through the asset list and manually purge these instances (see below).
I would appreciate if someone could provide me a more automated manner of doing this.