Node/VM/EC2
Install and attach K2's Go Language Agent with your Go application hosted on Node/VM/EC2 for Runtime Self Application Protection.
Prerequisites
Steps
Step 1: The K2-Go agent can be attached to your application by running the following commands:
go get github.com/k2io/go-secureStep 2: Import the K2 package into the main module of the application.
import _ "github.com/k2io/go-secure"Step 3: Based on additional packages imported by the user application, add suitable imports.
Step 4: Special Instructions when the application is running in IAST mode with gRPC
Step 5: Build and Run the Application using the following build process
Last updated
Was this helpful?