我正在尝试从veracode(json或xml)中提取数据。我尝试使用curl连接到api,但我不断收到错误消息:“无法连接到analysiscenter.veracode.com端口443:超时”。
curl --compressed -u USERNAME:PASSWORD https://analysiscenter.veracode.com/api/5.0/getapplist.do -F "include_user_info=true"
根据veracode文档,要连接到API,需要具有Reviewer或Security Lead角色。我同时具有Reviewer和Submitter角色。curl命令应返回如下数据:
xsi:schemaLocation =“ https://analysiscenter.veracode.com/schema/2.0/applist https://analysiscenter.veracode.com/resource/2.0/applist.xsd”> applist_version =“ 1.2” account_id =“ 123”>代码“ policy_updated_date =” 2013-11- 11T14:37:34-05:00“ /> create_application_profile =“ true” create_sandbox =“ true”> create_new_build =“ true” Assign_app_to_team =“ true”> assign_app_to_any_team =“ true” view_sandbox =“ true” view_results =“ true”> approve_mitigations =“ true” Submit_static_scan =“ true” />
答案 0 :(得分:0)