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

Closed

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

Activity

  1. self-assigned this
    on Jul 1, 2020
  2. changed the title [-]Allow specification of env vars in the Scan CRD[/-] [+]Allow Specification of ENV Vars in the Scan CRD[/+] on Jul 1, 2020
  3. added 2 commits that reference this issue on Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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