Skip to content

Commit d6cf100

Browse files
Karnik, Aarkinmboglesby
authored andcommitted
Pull request #47: NSOL-6012 added a warning when --no-https flag is used in commands
Merge in SIE-BB/netapp-dataops-toolkit from jupyterlab-http to release-v3.1.0 * commit '81fca439fa1ba9148abb407efbbb66a197a771a1': NSOL-6012 added a warning when --no-https flag is used in commands
2 parents e6f6d97 + 81fca43 commit d6cf100

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

netapp_dataops_k8s/netapp_dataops/netapp_dataops_k8s_cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,7 @@ def getTarget(args: list) -> str:
857857
allocate_resource = arg
858858
elif opt in ("--no-https",):
859859
enable_https = False
860+
logger.warning("WARNING: HTTPS has been disabled. The workspace password will be transmitted in plaintext over HTTP, making it vulnerable to network sniffing.")
860861

861862
# Check for required options
862863
if not newWorkspaceName or (not sourceSnapshotName and not sourceWorkspaceName):
@@ -1025,6 +1026,7 @@ def getTarget(args: list) -> str:
10251026
allocate_resource = arg
10261027
elif opt in ("--no-https",):
10271028
enable_https = False
1029+
logger.warning("WARNING: HTTPS has been disabled. The workspace password will be transmitted in plaintext over HTTP, making it vulnerable to network sniffing.")
10281030

10291031
# Check for required options
10301032
if not workspaceName or not workspaceSize:

0 commit comments

Comments
 (0)