Guest User

Untitled

a guest
Oct 24th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. from dsp3.models.smartcheck import SmartCheck
  2.  
  3. sc_registry = 'registry.gitlab.com'
  4. sc_repository = 'jeffthorne/test/books'
  5. sc_tag = 'latest'
  6. sc_user = 'smartcheck username'
  7. sc_password = 'smartcheck password'
  8. sc_host = 'smartcheck host'
  9. gitlab_username = 'gitlab username'
  10. gitlab_password = 'gitlab password'
  11. sc = SmartCheck(username=sc_user, password=sc_password, host=sc_host)
  12.  
  13. result = sc.initiate_scan(sc_registry, sc_repository, sc_tag, username=gitlab_username, password=gitlab_password)
  14. print(result)
Add Comment
Please, Sign In to add comment