Skip to content

Allow To Specify Labels for Pods of Scans #1776

@l4mb0san

Description

@l4mb0san

Can someone tell me how to assign labels to all jobs, pods related to applied scan?
After a scan was applied, I checked the description of the pod created from the scan's job; it does not contain the labels of the scan.
Example:

apiVersion: "execution.securecodebox.io/v1"
kind: Scan
metadata:
  name: "nmap-from-web"
  labels:
     task: "scan-10.x"
     cilium: "allow"

Sorry to bother everyone, but I couldn't find any documentation on this.
Thanks for helping me.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions