用于veracode的api的python cli
vcapi的Python项目详细描述
vcapi是veracode上传api的python cli包装器。
用法
将凭据保存在主目录中名为.veracoderc的两行文件中,或指定凭据文件 使用–cred文件选项。文件的第一行应该有您的用户名,第二行应该有您的密码。
Usage: vcapi [OPTIONS] COMMAND [ARGS]... Veracode command line interface Options: --cred-file TEXT Two line file containing username and password. -v, --verbose Enables logging --help Show this message and exit. Commands: begin-prescan Begins the prescan. begin-scan Begins a scan create-app Creates a new app. create-build Creates a build. delete-build Deletes a build. get-app-info Gets information for a particular app. get-app-list Gets a list of apps and their ids. get-build-info Gets info for an app build. get-build-list Gets a list of builds for an app. get-file-list Gets a list of files uploaded to a build. get-policy-list Gets a list of policies you have defined. get-prescan-results Gets the results of a prescan. get-vendor-list Gets a list of vendors you have defined. remove-file Removes a file from an app. update-app Updates an app. update-build Updates build infomation for a build. upload-file Uploads a file
示例
列出您可以访问的所有应用程序:
vcapi get-app-list
获取有关特定命令的帮助:
vcapi update-app --help
执行命令的详细程度:
vcapi -v get-app-list