Command Line Reference

SecureChange can be managed from the command line interface with the following commands. See also TOS CLI Reference

Info

If you encounter a problem that cannot be easily resolved, Tufin Support may ask you to send additional information. The following command interactively collects SecureChange logs and additional information, and places it in a file. scw info does not collect any part of the security policies or your organization's security configuration.

#kubectl exec -it deployment/sc-server -c sc-server -- /usr/sbin/scw info

List the files in a SecureChange Pod:

#kubectl exec -it deployment/sc-server -c sc-server -- ls -l

Take the file that starts with your email address using the following command:

#kubectl cp -c sc-server $(kubectl get po -l app=sc-server -o jsonpath="{.items[0].metadata.name}"):<file-name> ./<file-name>

Reset Password

#kubectl exec -it deployment/sc-server -c sc-server -- /usr/sbin/scw reset-admin

Resets the password of the initial Administrator (username: admin) to: admin. Upon subsequent login, this Administrator will be prompted to change the password.