Skip to content

Conversation

@JoukoVirtanen
Copy link
Contributor

@JoukoVirtanen JoukoVirtanen commented Sep 25, 2025

With the process baseline auto-locking feature having been merged, users might need to be able to unlock large numbers of process baselines quickly and easily.

Testing

Locking all process baselines in the stackrox namespace.

Ran

./process-baselines.sh namespace=stackrox lock=true

Went to "Risk", looked at "Process Discovery" for a few deployments. Confirmed that process baselines for the stackrox process baselines were locked, and others were unlocked. Here are two examples.

image image

Unlocking all process baselines in the stackrox namespace.

Unlocked the process baselines

./process-baselines.sh namespace=stackrox lock=false

Checked the UI

image

Locking all process baselines in the collector "deployment"

./process-baselines.sh deploymentname=collector lock=true
image

In the tests after this one. I checked the UI, but didn't include the results.

Locking all process baselines in the cluster

./process-baselines.sh clustername=remote lock=true

Locking process baselines according to age of deployments

./process-baselines.sh created=2025-09-25T17:39:53Z lock=true

Ordered the deployments according to created time, and checked the newer deployments were locked and the older ones are unlocked.

@JoukoVirtanen JoukoVirtanen marked this pull request as ready for review September 25, 2025 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant