Hi.
Yes, using the class ReportLastScan (although the report will be in a
String, not an [output]stream).
For example usage with String take a look at:
CoreAPI.writeReportLastScanTo(HttpMessage, ScanReportType).
Best regards.
On 16/11/15 12:56, kasun balasooriya wrote:
> Hi! I want to get a report of the last scan from zap. But I don't want
> the file saved. Instead I need it to be in a stream. Is there a way I
> can achieve this? Thanks in advance!
>
> On Thursday, November 12, 2015 at 9:42:08 PM UTC+5:30, kasun balasooriya
> wrote:
>
> Thank you! I will have a look.
>
> On Thursday, 12 November 2015, Stephen de Vries <
step...@gmail.com
>>> <
https://groups.google.com/d/optout>.
>> <
https://groups.google.com/d/optout>.
> <
https://groups.google.com/d/optout>.
>
>
>
> --
>
> Kasun Balasooriya
>
about.me/kasun.balasooriya.71
> Kasun Balasooriya on
about.me
>
>
> <
http://about.me/kasun.balasooriya.71>
>
> --
> You received this message because you are subscribed to the Google
> Groups "OWASP ZAP Developer Group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
zaproxy-devel...@googlegroups.com
> <mailto:
zaproxy-devel...@googlegroups.com>.