Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Allow Specification of ENV Vars in the Scan CRD #48

@J12934

Description

@J12934

Is your feature request related to a problem? Please describe.

When wanting to use confidential data in a Scan you currently have to include this confidential information in the scan itself, or create a new ScanType which mounts this data from a kubernetes secret.

Describe the solution you'd like

The Scan CRD should allow to add additional environment vars. E.g:

apiVersion: "execution.experimental.securecodebox.io/v1"
kind: Scan
metadata:
  name: "nmap-from-secret"
spec:
  scanType: "nmap"
  env:
    - name: TARGET
      valueFrom:
        secretKeyRef:
          name: example-secret
          key: target
  parameters:
    - "-p22,443"
    - "$(TARGET)"

Describe alternatives you've considered

  • Create a new ScanType which mounts this data from a kubernetes secret

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions