cloud-native-security-inspector
cloud-native-security-inspector copied to clipboard
Task: Migrate image scanner cronjob to resource collector
Before resource collecter is implemented, we still need to keep the current cronjob way for image scanner.
After the resource collector is implemented, we can let it to:
- Read the Policy/Setting to get several key configuration.
- From the configuration, read the periodic information.
- With repected to the periodic information, the resource collector will call the Harbor API to fetch the information, then send to OpenSearch.
In future, the data will go through resource collector, database, Analyst and data exporter, then go to openseach.