Skip to main content

Go agent

The Contrast Go agent uses build-time instrumentation to analyze the run-time behavior of Go applications. A tool called contrast-go is used to embed the agent and its instrumentation hooks into the application as it is being built. 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

Installing the Go agent requires access to the application's 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.

Learn about Go agent system requirements and supported technologies.