logo
2
2
WeChat Login

上传仓库代码敏感信息分析结果

镜像

 cnbcool/keenlab-sensitive-upload:latest

输入

  • UPLOAD_TOKEN:string 必填,用于后期结果上传校验
  • BODY_JSON:string 必填,上传的结果,json 格式

在云原生构建使用

"master":
  push:
    - docker:
        image: tencentcom/arrowhead:latest
      stages:
        - name: run arrowhead-cnb
          script: arrowhead-cnb --output code_sensitive.json ./
        - name: report
          script: cat code_sensitive.json
        - name: upload code sensitive
          image: cnbcool/keenlab-sensitive-upload:latest
          setting:
            UPLOAD_TOKEN: ${UPLOAD_TOKEN}
            BODY_JSON: ${BODY_JSON}

About

科恩代码敏感数据扫描上传

Language
Shell96.7%
Dockerfile3.3%