Go
Install and attach K2's Go Language Agent with your application for Runtime Self Application Protection.
This section describes steps to install K2's Go Language Agent with your Go application in various environments.
Prerequisites
Supported Packages
Packages
K2 imports needed
Supported
& Tested versions
golang core
go-secure
1.15,1.16,1.17
google.golang.org/grpc
k2secure_grpc
github.com/valyala/fasthttp
k2secure_fasthttp
github.com/antchfx/xpath
k2secure_xpath
github.com/antchfx/xmlquery
k2secure_xmlquery
github.com/antchfx/jsonquery
k2secure_jsonquery
github.com/antchfx/htmlquery
k2secure_htmlquery
go.mongodb.org/mongo-driver/mongo
k2secure_mongo
github.com/robertkrimen/otto
k2secure_otto
github.com/augustoroman/v8
k2secure_v8
github.com/go-ldap/ldap/v3
k2secure_ldap
Supported vulnerability cases type
Vulnerability cases type
Remark
SQL Injection
Supported
RCE
Supported
LDAP
Supported
Application Integrity Violation
Supported
File Access Attacks
Supported
SSRF
Supported
XSS
Supported
XPATH
Supported
Supported Framework:
Framework
Remark
Remark
net/http
Supported
Frameworks built over this framework and thus supported :- gin, beego, kit, echo, revel
fasthttp
Supported only for 2.x
Frameworks built over this framework and thus supported :- fiber
grpc
Supported
Both client and server
Supported OS:
OS
Remark
Linux
Supported x86-64 only
Mac
Supported for 2.x only, x86-64 only
Windows
Not Supported
Go Language Agent Installation
If you are using Go services on Node/VM/EC2 instance, checkout below page
Node/VM/EC2Last updated
Was this helpful?