8000 Unable to create an advanced scan. KS8 · Issue #1309 · secureCodeBox/secureCodeBox · GitHub
[go: up one dir, main page]

Skip to content

Unable to create an advanced scan. KS8 #1309

@renatosazup-zz

Description

@renatosazup-zz

🐞 Bug report

Unable to create an advanced scan, always an error of "MountVolume.SetUp"

Steps To Reproduce

Job

# SPDX-FileCopyrightText: the secureCodeBox authors
# https://github.com/secureCodeBox/secureCodeBox/blob/main/scanners/zap-advanced/examples/secureCodeBox.io-scan/scan.yaml
# SPDX-License-Identifier: Apache-2.0

---
apiVersion: "execution.securecodebox.io/v1"
kind: Scan
metadata:
  name: "zap-advanced-scan-securecodebox"
  labels:
    organization: "OWASP"
spec:
  scanType: "zap-advanced-scan"
  parameters:
    # target URL including the protocol
    - "-t"
    - "https://www.secureCodeBox.io"

Command

kubectl describe pod scan-zap-advanced-scan-securecodebox-xxxx-xxxx -n owasp-zap-advanced

Output

Events:
  Type     Reason       Age                From               Message
  ----     ------       ----               ----               -------
  Normal   Scheduled    55s                default-scheduler  Successfully assigned owasp-zap-advanced/scan-zap-advanced-scan-securecodebox-qxnmw-xz6mp to ip-100-72-19-196.ec2.internal
  Warning  FailedMount  23s (x7 over 55s)  kubelet            MountVolume.SetUp failed for volume "zap-advanced-scantype-config" : configmap "zap-advanced-scantype-config" not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0