Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from dsp3.models.smartcheck import SmartCheck
- sc_registry = 'registry.gitlab.com'
- sc_repository = 'jeffthorne/test/books'
- sc_tag = 'latest'
- sc_user = 'smartcheck username'
- sc_password = 'smartcheck password'
- sc_host = 'smartcheck host'
- gitlab_username = 'gitlab username'
- gitlab_password = 'gitlab password'
- sc = SmartCheck(username=sc_user, password=sc_password, host=sc_host)
- result = sc.initiate_scan(sc_registry, sc_repository, sc_tag, username=gitlab_username, password=gitlab_password)
- print(result)
Add Comment
Please, Sign In to add comment