🔘Pynt for Go
Integrate Pynt with Go to enhance API security testing. Automate security scans within your Go test suites to detect and mitigate vulnerabilities effectively.
Last updated
Integrate Pynt with Go to enhance API security testing. Automate security scans within your Go test suites to detect and mitigate vulnerabilities effectively.
Last updated
💡 Go is a statically typed, compiled programming language designed for simplicity, reliability, and efficiency. Popular for building scalable web services, Go's concurrency features make it ideal for large-scale applications. It’s used extensively in cloud infrastructure, microservices, and API development. With its performance and ease of use, Go is a top choice for backend developers looking to build high-performance APIs and systems.
Pynt’s API security testing suite integrates seamlessly with Go, enabling secure, high-performance development and testing of APIs in Go applications.
If your functional tests are written in Go, you can use Pynt command to run API Security tests from these functional tests.
First, make sure Pynt's prerequisites are met.
Follow the instructions to install Pynt container here.
Then, continue with the below example.
test_goat.go is a go based tester for goat (our vulnerable application) that we use to test the functionality of goat, here is how to run it:
Get test_goat.go
Get testify
go mod
Check that functional test works
Run Pynt on functional test
Pynt can automatically set your go test to use self signed certificate. use the flag --self-signed
💡 Pynt CLI Troubleshooting: If you're encountering issues with Pynt's CLI, visit the Pynt CLI Troubleshooting Guide for solutions and troubleshooting tips.
💡 Still Need Help? For any questions or troubleshooting, reach out to the Pynt Community Support.