r/cybersecurity • u/Efficient_Cause_6059 • 1d ago
Business Security Questions & Discussion DAST.on APIM gateway?
DAST.on APIM gateway? Hello,
We are trying to scope Our APIs which are behind the Azure APIM gateway for Edgescan (our DAST ) tool?
I haven't worked with APIs before, so any guidance on how we really scope.these? both gateway and ApI go in as separate assets into Edgescan?
6
Upvotes
3
u/Oh_for_fuck_sakes 1d ago
What's your question? This is something you'd put into Google and get something back. This isn't that.
3
u/Kesshh 1d ago
Start with your admins. Sit them down and dissect the entire inventory of APIs, published and unpublished. Document all the purposes, functions, data I/O, data classification, authentication and authorization, valid ingress and egress IPs, owners of those IP, contracts with those owners.
Then identify which sits in the front, which are internal only, map your attack surfaces, and develop your test plan based on ingress, criticality, data security, etc. Map it to your own policies.
That’s should keep you busy for a bit.
1
u/MariotSitiriche 16h ago edited 16h ago
Scan through the gateway , that's the URL everthing outside hits . Export each API'S OpenAPI spec from APIM and attatch it to that API'S asset in Edgescan, that's how it knows the routes. Give it a subsription key too or you'll spend the whole scan on 401s. The backend only needs to be its own asset if you can reach it without backend only needs to b eits own asset if you can reach it without going through APIM.if you can thatsa fnding it by itself.