Skip to content

Commit 6170bdf

Browse files
meskioDavide Schiera
authored andcommitted
Add support for the scanning API (#74)
* Refactor secure and monitor into it's own files _client.py has grown too big. Moving SdcMonitor and SdcSecure into separated files. * Fix python style (pep8) Make the code pep8 compilant except for line lenght (E501) and for comparisons to none (E711) and bool (E712) using '==' or '!='. * Add SdScanningClient class with the secure scanning API Add image, registries and subscription support. Importing some anchore helper functions from anchore-cli into sdcclient/_anchore. * Add support for scanning policies * Add support for scanning alerts and runtime
1 parent ecc99dd commit 6170bdf

File tree

6 files changed

+3193
-2455
lines changed

6 files changed

+3193
-2455
lines changed

sdcclient/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
from sdcclient._client import SdcClient
2-
from sdcclient._client import SdMonitorClient
3-
from sdcclient._client import SdSecureClient
1+
from sdcclient._monitor import SdcClient
2+
from sdcclient._monitor import SdMonitorClient
3+
from sdcclient._secure import SdSecureClient
4+
from sdcclient._scanning import SdScanningClient

0 commit comments

Comments
 (0)