#!/usr/bin/env python from securitycenter import SecurityCenter # Please fill out the information below username = '******' password = '******' host = 'HOSTNAME OR IP ADDRESS' sc = SecurityCenter(host, username, password) assets = sc.assets() print 'Repositories\n------------' for repo in assets['repositories']: print repo['id'], repo['name'] print '\nAssets\n------' for asset in assets['assets']: print asset['id'], asset['name']