• BiaoDoo首页
  • 自主产品
       自主产品
       测试工具
       源码安全/质量测试云平台
       测试用例开发工具
       软件测试态势分析平台
       开源软件安全审计系统
       软件造价
       软件造价概算平台
       运维产品
       应用源码监测系统
       教学实训平台
       软件测试实验室平台
  • Micro Focus产品代理
       Micro Focus产品代理
       Fortify SCA
       Webinspect
       LoadRunner
       ALM/QualityCenter
       MF UFT
       MF Mobile Center
       Diagnostics
  • 其它产品
       其它产品
       AppScan(IBM)
       Klockwork Insight
       Coverity静态分析
       Black Duck--黑鸭软件成分分析
  • 安全产品
       安全产品
       U盾
  • 工程咨询
       工程咨询
       IT规划咨询
       软件造价概算
       软件架构评估
       信息工程监理
       测试体系咨询
  • 软件测试
       软件测试
       工程验收测试
       压力测试与优化
       产品认证测试
       专题测试
       医疗设备软件测试
       摇号软件测试
       科研项目验收
       软件故障诊断
       委托客制测试
       软件登记测试
       科技成果鉴定
       国产软件适配测试
  • 安全测试
       安全测试
       软件安全测试
       源码安全测试
       等级保护测评
       渗透测试
       风险评估
  • 企业服务
       企业服务
       系统保障与救援
       大数据服务
       ICP证书办理
       软件著作权
       首版次申报
  • 教育培训
       教育培训
       ISTQB认证
       软件产品检验员
       软件就业培训
       校企合作
       信息安全培训
  • 认证中心
       认证中心
       软件企业认证
       质量安全体系认证
       高新技术企业认证
       企业能力认证
       节能与绿色评价服务
       其它系统认证
  • 资讯中心
       资讯中心
       最新资讯
       政策法规
       技术方案
  • 开源测试 · 青云渡
       开源测试 · 青云渡
       技术文摘
       BiaoDoo开源
       常用工具
  • 全国网络
       全国网络
  • BiaoDoo
       BiaoDoo
       软件管控领导者
       合作伙伴
       FAQ
       加入我们
       招聘信息
       合作加盟
       联系我们
  • 测试外包
       测试外包
       离岸测试外包
       测试人才外协
  • 强化CI集成(Fortify CI integration)

    扫码分享给我的朋友


    原文:https://stackoverflow.com/questions/50123510

    最满意答案

    首先,您可以检查翻译和扫描阶段的源分析程序的退出代码,如果它不为零,则出现问题。


    要专门检查翻译中的问题,请运行:

    sourceanalyzer -b <your_build_id> -show-build-warnings

    你必须解析输出来筛选出你认为是噪声的东西,并返回非零来使构建失败。 如果没有警告或错误,则不会有任何输出。


    扫描中

    FPRUtility -information -errors -project <your_FPR>.fpr

    再一次,你必须解析出什么是感兴趣的。 如果FPR中没有存储任何错误或警告,您只需获得:

    分析过程中未发生警告


    最后,如果您想查找找到的特定类型的漏洞,可以使用: FPRUtility -information -search -query "<search string>"

    其中<search string>是您可以在Audit Workbench中使用的过滤器,例如,为了查找SQL注入漏洞,您可以指定`-query“类别:sql injection”,输出结果如下所示:

    1512匹配搜索查询的72期。


    First, you can check the exit code of sourceanalyzer for both the translate and scan phases, if it's non-zero, something went wrong.


    To specifically check for issues in the translation, run:

    sourceanalyzer -b <your_build_id> -show-build-warnings

    You'll have to parse the output to filter out what you consider to be noise and return non-zero to fail the build. If there were no warnings or errors, there won't be any output from that.


    In the scan:

    FPRUtility -information -errors -project <your_FPR>.fpr

    Again, you'll have to parse out what's of interest. If there wasn't any errors or warnings stored in the FPR, you'll just get:

    No warnings occurred during analysis


    Lastly, if you want to look for specific types of vulnerabilities that were found, you can use: FPRUtility -information -search -query "<search string>"

    Where <search string> is a filter you can use in Audit Workbench, e.g. to find SQL injection vulnerabilities, you could specify `-query "category: sql injection", and the output would be something like:

    72 issues of 1512 matched search query.



    现在咨询标度

    您可能感兴趣的其他产品