Skip to content

Use a snapshot annotation to preserve the current state of the NodeScanConfiguration during scanning #1178

@fabriziosestito

Description

@fabriziosestito

When the runner creates a NodeScanJob, persist a JSON snapshot of the current NodeScanConfiguration as an annotation on the job, mirroring the pattern used by the ScanJob reconciler to snapshot the Registry scanjob_controller.go#L106-L120, via AnnotationScanJobRegistryKey.

This ensures the scan runs against a frozen view of the configuration and is not affected by edits made while the job is in flight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions