vmware-archive / loginsight-export

Log Insight Export
Other
11 stars 7 forks source link

Read existing cookie-session from a Browser #35

Open ellieayla opened 6 years ago

ellieayla commented 6 years ago

If the browsercookie package is installed, read a JSESSIONID cookie from a browser (currently Chrome or Firefox). Negates the need to specify username/password.

Also allow directly specifying the sessionid on the command line.

If the obtained sessionid is no longer valid (eg, expired), then an export attempt will fail. Login using a webbrowser first.

--browser command line argument defaults to False. --session command line argument defaults to None.

vmwclabot commented 6 years ago

@alanjcastonguay, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.8%) to 55.136% when pulling e1c2ae6799e1a7d78014336bc730b5ee765bd207 on alanjcastonguay:browsercookie-support into 88090298b6d49560348698b08ccb6a6040fa3f3b on vmware:master.

vmwclabot commented 6 years ago

@alanjcastonguay, VMware has approved your signed contributor license agreement.