Skip to main content

Go agent

The Contrast Go agent is a source code rewriter that instruments Go web applications for library support and vulnerability reporting. It uses a tool called contrast-go to inject instrumentation into your applications at build time, providing runtime insight into the source code and libraries that make up your application. When you run an instrumented application, the Go agent automatically starts and monitors the application’s execution to detect vulnerabilities.

The latest Go agent supports Assess (IAST), Protect (RASP), and Observe features.

Note

As a source code rewriter, installing the Go agent in an application requires access to the application build environment.

To see a list of available flags with command line arguments for contrast-go, see Command line arguments for Go, or type contrast-go -h.Command line arguments for Go

Learn about Go agent system requirements and supported technologies.