testssl.sh icon indicating copy to clipboard operation
testssl.sh copied to clipboard

Capture the actual url that was used for the test

Open sellersj opened this issue 4 years ago • 3 comments

Is your feature request related to a problem? Please describe. Currently the reports capture targetHost, ip, port, rDNS, and service. It would be useful if the actual url that was contacted was contained, in the case of testing 2 different url's behind a host. e.g. example.com/app1/ and example.com/app2/

Describe the solution you'd like Another attribute called something like targetUrl or targetUri or similar

Describe alternatives you've considered Currently I can parse out the value from the Invocation field, but it would be nicer if it was it's own field.

sellersj avatar Dec 15 '20 13:12 sellersj

For json-pretty: see 'Invocation`. For json / csv : certainly no value to include it everywhere.

It is useful for the http section. But, I think it would be better to add the command line in the remaining output formats, see #1745 .

drwetter avatar Dec 15 '20 15:12 drwetter

Does that make sense?

drwetter avatar Dec 16 '20 11:12 drwetter

That is fine. I'll continue parsing out the Invocation section.

sellersj avatar Dec 17 '20 13:12 sellersj