How to allow npm run test:ci but not npm?

How to allow npm run test:ci but not npm?

See this image? (I cut off the npm)

its trying to allowlist npm, but I need finer grained control, I only want to allow list

npm run test:ci

but DEFINITELY NOT any other npm commands.

is this possible? Thank you

1 Like

This should work: Whitelist of terminal commands cursor can run - #2 by jake

1 Like