You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/mondoo-operator/garbage_collect/cmd.go
+16-9Lines changed: 16 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,9 @@ func init() {
30
30
filterPlatformRuntime:=Cmd.Flags().String("filter-platform-runtime", "", "Cleanup assets by an asset's PlatformRuntime (k8s-cluster or docker-image).")
31
31
filterManagedBy:=Cmd.Flags().String("filter-managed-by", "", "Cleanup assets with matching ManagedBy field.")
32
32
filterOlderThan:=Cmd.Flags().String("filter-older-than", "", "Cleanup assets which have not been updated in over the time provided (eg 12m or 48h or anything time.ParseDuration() accepts).")
33
-
spaceMrnOverride:=Cmd.Flags().String("space-mrn", "", "Override the space MRN for garbage collection (used when spaceId is set in MondooAuditConfig).")
33
+
scopeMrnOverride:=Cmd.Flags().String("scope-mrn", "", "Override the scope MRN (space or org) for garbage collection.")
34
+
Cmd.Flags().String("space-mrn", "", "Deprecated: use --scope-mrn instead.")
0 commit comments