【问题标题】:Kubescape report does not submit with github actionKubescape 报告未通过 github 操作提交
【发布时间】:2022-08-21 13:23:32
【问题描述】:

我正在尝试通过 github 操作发送 kubescape 报告,不幸的是,我遇到了如下所示的错误:

扫描结果未提交: 免费注册: https://portal.armo.cloud/account/sign-up

当然我已经创建了一个帐户,我尝试像这样提交报告:

kubescape:
    runs-on: ubuntu-20.04

    strategy:
      matrix: { dir_kube: [\'ionos/kubernetes/dev/*.yaml\', \'azure/kubernetes/prod/*.yaml\', \'ionos/kubernetes/prod/*.yaml\']}

    steps:

      - name: Clone repo
        uses: actions/checkout@master

      - name: Install kubescape
        run: curl -s https://raw.githubusercontent.com/armosec/kubescape/master/install.sh | /bin/bash

      # Scanning cluster, specified by filter path
      - name: Scan repository
        run: kubescape scan --submit --account=${{ secrets.KUBESCAPE_REPORT }} ${{ matrix.dir_kube }}

秘密对应于我的密钥帐户。

我尝试过的:

  • 替换密码(以防我打错了)
  • 添加--verbose
  • 添加--logger debug
  • 直接从我的机器扫描并发送报告(我设法正确地发送了报告,但正如您所想,我不想在我的机器上这样做,因为它是一项 cron 工作。)

甚至可以从GA做到吗?我错过了什么吗?

  • 你在 GH 动作中扫描什么?文件还是集群?

标签: security github-actions


【解决方案1】:

Kubescape 刚刚发布了对向门户提交文件扫描的支持。立即使用最新版本进行检查!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-03-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-09-04
    • 2022-01-20
    • 2021-08-26
    • 2022-11-05
    相关资源
    最近更新 更多