mirror of
https://github.com/quay/quay.git
synced 2026-01-27 18:42:52 +03:00
This is in preparation for the beginning of support for the new API for ClairCore (V4) Fixes https://issues.redhat.com/browse/PROJQUAY-177
18 lines
418 B
Python
18 lines
418 B
Python
import os
|
|
import logging
|
|
|
|
from data.secscan_model.secscan_v2_model import V2SecurityScanner
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
class SecurityScannerModelProxy(object):
|
|
def configure(self, app, instance_keys, storage):
|
|
self._model = V2SecurityScanner(app, instance_keys, storage)
|
|
|
|
def __getattr__(self, attr):
|
|
return getattr(self._model, attr)
|
|
|
|
|
|
secscan_model = SecurityScannerModelProxy()
|