How to Improve API Security Testing in Production?

January 24, 2026 5 answers
Asked by !bake at 175
I'm currently facing some challenges with API security testing for our live REST and gRPC APIs. We rely on SAST during development, but once the APIs are deployed, I feel like we're not fully catching security issues. Our main method right now is manual testing with Postman, which isn't scaling well. I've tried implementing some automated tests, but they often fail due to our authentication setup of SSO and 2FA. I'm interested in learning how others manage runtime API security, particularly any tools that can help discover undocumented endpoints because I suspect we have some shadow APIs that weren't properly documented.

Answers

para2break
Manual testing through Postman can lead to missed vulnerabilities. A better approach is to use automated DAST tools that handle auth flows seamlessly. Checkmarx DAST, for instance, can identify undocumented endpoints and test both REST and gRPC APIs in production, tackling complex auth processes without manual overhead. It's crucial to catch shadow APIs before they become a target.
Reply to this answer
104th paragraph
If you're only using SAST and Postman, you're definitely missing out on visibility in production. Runtime API security is more about understanding what endpoints are out there and who can access them. If your current testing approach keeps running into issues with authentication, it may mean the tools arenโ€™t aligned with the actual setup.
Reply to this answer
firingCycle-9
SAST is great for spotting potential issues in code, but it doesn't tell you whatโ€™s live and accessible. API testing should focus on both discovering endpoints and managing authentication effectively. If your scanner canโ€™t accurately replay real auth flows, it might miss a lot. Using instrumentation tools at the gateway or service mesh level can help track real traffic and verify what's exposed, even if it isnโ€™t documented.
Reply to this answer
49 seat auditorium
It's really those undocumented endpoints that pose the biggest risk. They can arise from old versions or internal routes that weren't properly cleaned up. Without some monitoring to capture real API traffic and understand what's actually being called, you won't get a complete view, no matter how thorough your CI scans are.
Reply to this answer
BREADCRUMB_trail
Have you checked if your OAuth provider can use client credential flows? That could let your end-to-end test runner operate with its own account, which means you won't have to deal with SSO and 2FA during tests.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions