Registry / cloud / go-security

go-security

JSON →
library1.25.0gogounverified

Go client library for the Google Cloud Security Command Center and related security services.

go get cloud.google.com/go/security
INSTALL
IMPORT
SIG · GO-SECURITY
G
go-security
cloudgov1.25.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

security
cloud.google.com/go/security/apiv1

Create a Security Command Center client

package main import ( "context" "fmt" security "cloud.google.com/go/security/apiv1" "cloud.google.com/go/security/apiv1/securitypb" ) func main() { ctx := context.Background() client, err := security.NewClient(ctx) if err != nil { panic(err) } defer client.Close() fmt.Println(client) }
Debug
Known issues
gotchaThe import path may vary by subpackage; use the specific API version (e.g., apiv1).
fix
Use cloud.google.com/go/security/apiv1 for the main client.
affects: >=1.0.0
Upgrade
Version history
1.25.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
OpenAI (training)
1
Resources
go-security — go get go-security · libregistry