Thanks that helped me how to specify the right policy in the parameter.
But I still having problems to get the desired output. I only want to get the alerts of SQL injection and XSS, and this is what I specified in the Scan Policy Manager in the UI before I ran the active scan in my own web app.
It shows for example Remote File Inclusion, regardless of the Scan Policy Settings:
Op dinsdag 30 maart 2021 om 20:00:38 UTC+2 schreef kingthorin+owaspzap: