zaproxy / zap-api-dotnet Goto Github PK
View Code? Open in Web Editor NEWZAP Dot NET API
License: Apache License 2.0
ZAP Dot NET API
License: Apache License 2.0
Since the update to 2.12.0 the API call _api.alert.alerts has not been working as it should.
I keep getting this error... this code was working before the update.
Someone suggested it had to do with how I declared _apiResponse:
But that wouldnt explain that all other functions are working and only when I try to run getAlerts or _api.alert.alerts i get this error. This code is from the C# examples here in the OWASP Zap github.
Maybe the syntax changed? I dont know, could someone help me?
In C# use the call _api.alerts.alert
Return the alerts currently listed in OWASP Zap
OWASP ZAP
Version: 2.12.0
Installed Add-ons: [[id=alertFilters, version=14.0.0],
[id=ascanrules, version=49.0.0], [id=automation,
version=0.19.0], [id=bruteforce, version=12.0.0],
[id=callhome, version=0.5.0], [id=commonlib,
version=1.11.0], [id=custompayloads, version=0.12.0],
[id=database, version=0.1.0], [id=diff, version=12.0.0],
[id=directorylistv1, version=5.0.0], [id=domxss,
version=14.0.0], [id=encoder, version=0.7.0], [id=exim,
version=0.3.0], [id=formhandler, version=6.1.0], [id=fuzz,
version=13.8.0], [id=gettingStarted, version=14.0.0],
[id=graaljs, version=0.3.0], [id=graphql, version=0.11.0],
[id=help, version=15.0.0], [id=hud, version=0.15.0],
[id=importurls, version=9.0.0], [id=invoke, version=12.0.0],
[id=network, version=0.5.0], [id=oast, version=0.13.0],
[id=onlineMenu, version=10.0.0], [id=openapi,
version=30.0.0], [id=pscanrules, version=44.0.0],
[id=quickstart, version=35.0.0], [id=replacer,
version=11.0.0], [id=reports, version=0.16.0],
[id=requester, version=7.0.0], [id=retest, version=0.4.0],
[id=retire, version=0.17.0], [id=reveal, version=5.0.0],
[id=saverawmessage, version=7.0.0], [id=savexmlmessage,
version=0.3.0], [id=scripts, version=33.0.0], [id=selenium,
version=15.11.0], [id=soap, version=15.0.0], [id=spider,
version=0.1.0], [id=spiderAjax, version=23.10.0], [id=tips,
version=10.0.0], [id=webdriverlinux, version=46.0.0],
[id=websocket, version=27.0.0], [id=zest, version=37.0.0]]
Operating System: Linux
Architecture: amd64
Java Version: Debian 11.0.16
System's Locale: en_US
Display Locale: en_GB
Format Locale: en_US
Default Charset: UTF-8
ZAP Home Directory: /home/kali/.ZAP/
ZAP Installation Directory: /opt/zaproxy/./
Look and Feel: FlatLaf Light (com.formdev.flatlaf.FlatLightLaf)
Zap does not write anything about this error in the logs
No response
Majority of ZAP repos are already using main
as the default branch, if there's no requirement for the current name this repo should be changed as well.
Under https://www.nuget.org/packages/OWASPZAPDotNetAPI the "Project website" link is broken. It should point to this repo I think.
The current .NET version on .NET API is 4.5 which is out of support, so the version needs to be upgraded.
The version should be preferably upgraded to latest .NET version.
Upgrade .NET version to .NET 7 https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-7?WT.mc_id=dotnet-35129-website
None.
No response
No response
For easier maintenance it would be great if the release/publish was done through a GitHub Workflow. Ideally the release process should also be documented (e.g. https://github.com/zaproxy/zaproxy/blob/main/RELEASING.md).
ZAP is no longer a project under the OWASP umbrella as such it should not be using OWASP in its related projects.
https://www.zaproxy.org/blog/2023-08-01-zap-is-joining-the-software-security-project/
To avoid accidental changes (e.g. force pushes, deletion) the default branch should be protected. (This has to be done by someone with admin permissions but raising the issue to allow comments/discussion first.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.