icingaweb2-module-x509
icingaweb2-module-x509 copied to clipboard
Partial scan
After using this tool I would like to suggest a possible future enhancement.
In my case I have some large /22 subnets to scan initially. It takes forever to complete.
It would be nice to have a flag in the scan jobs to do a --full or --update that will allow for quicker updates to already discovered objects.
An alternative would also be do have an on demand scan for just a single object that can be checked after remediation of a certificate that has, or is about to expire.
We could add a flag that only scans already known addresses if their last update is older than n seconds|minutes|hours|days :thinking: Good idea! :+1:
An alternative would also be do have an on demand scan for just a single object that can be checked after remediation of a certificate that has, or is about to expire.
@yhabteab Please also implement this feature.
I think the following makes sense:
- There is a rescan command that rescans only known IPs, optionally only if the last scan is older than a certain time.
- It should be possible to perform successive scans. In the sense that already known IPs are excluded, but they are optionally rescanned if the last scan is older than a certain time.
- And of course we should continue to provide the current behavior of the full scan.