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
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