Petals ESB CLI

'topology-list' returns sensible information when no passphrase is given

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1.4, 2.2.0
  • Fix Version/s: 2.3.0
  • Security Level: Public
  • Description:
    Hide

    Using the command 'topology-list' without passphrase, sensible information are displayed:

    petals-cli>connect
    Would you like to connect to petals:*****@localhost:7700? (y/n) y
    petals-cli@localhost:7700>topology-list 
    Domain: PEtALS
    Subdomain: subdomain1
    * Container: sample-0
    ** Type: master
    ** Host: localhost
    ** HTTP Webservice port: 7600
    ** JMX port: 7700
    ** TCP port: 7800
    ** Registry port: 7900
    ** JMX username: petals
    ** JMX password: petals
    
    petals-cli@localhost:7700>

    Values of fields 'JMX username' and 'JMX password' should be masked, as using an invalid passphrase:

    petals-cli>connect
    Would you like to connect to petals:*****@localhost:7700? (y/n) y
    petals-cli@localhost:7700>topology-list -p invalid
    Domain: PEtALS
    Subdomain: subdomain1
    * Container: sample-0
    ** Type: master
    ** Host: localhost
    ** HTTP Webservice port: 7600
    ** JMX port: 7700
    ** TCP port: 7800
    ** Registry port: 7900
    ** JMX username: *********
    ** JMX password: *********
    
    petals-cli@localhost:7700>
    Show
    Using the command 'topology-list' without passphrase, sensible information are displayed:
    petals-cli>connect
    Would you like to connect to petals:*****@localhost:7700? (y/n) y
    petals-cli@localhost:7700>topology-list 
    Domain: PEtALS
    Subdomain: subdomain1
    * Container: sample-0
    ** Type: master
    ** Host: localhost
    ** HTTP Webservice port: 7600
    ** JMX port: 7700
    ** TCP port: 7800
    ** Registry port: 7900
    ** JMX username: petals
    ** JMX password: petals
    
    petals-cli@localhost:7700>
    Values of fields 'JMX username' and 'JMX password' should be masked, as using an invalid passphrase:
    petals-cli>connect
    Would you like to connect to petals:*****@localhost:7700? (y/n) y
    petals-cli@localhost:7700>topology-list -p invalid
    Domain: PEtALS
    Subdomain: subdomain1
    * Container: sample-0
    ** Type: master
    ** Host: localhost
    ** HTTP Webservice port: 7600
    ** JMX port: 7700
    ** TCP port: 7800
    ** Registry port: 7900
    ** JMX username: *********
    ** JMX password: *********
    
    petals-cli@localhost:7700>
  • Environment:
    -

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
4d 21h 23m
1
Christophe DENEUX
Tue, 9 Feb 2016 - 15:32:38 +0100
Open Open In Progress In Progress
1m 26s
1
Christophe DENEUX
Tue, 9 Feb 2016 - 15:34:04 +0100
In Progress In Progress Resolved Resolved
1h 9m
1
Christophe DENEUX
Tue, 9 Feb 2016 - 16:43:54 +0100

People

Dates

  • Created:
    Thu, 4 Feb 2016 - 18:09:08 +0100
    Updated:
    Tue, 9 Feb 2016 - 16:43:54 +0100
    Resolved:
    Tue, 9 Feb 2016 - 16:43:53 +0100