Registry / cloud / go-securitycenter

go-securitycenter

JSON →
library1.44.0gogounverified

A Go client library for the Google Cloud Security Command Center API, used to manage security findings and assets.

go get cloud.google.com/go/securitycenter
INSTALL
IMPORT
SIG · GO-SECURITYCENTER
G
go-securitycenter
cloudgov1.44.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.

securitycenter
cloud.google.com/go/securitycenter/apiv1

Creates a new Security Command Center client.

package main import ( "context" "fmt" securitycenter "cloud.google.com/go/securitycenter/apiv1" ) func main() { ctx := context.Background() client, err := securitycenter.NewClient(ctx) if err != nil { panic(err) } defer client.Close() fmt.Println("Client created") }
Debug
Known issues
breakingThe import path has changed in recent versions; older code may use cloud.google.com/go/securitycenter without the apiv1 suffix.
fix
Use cloud.google.com/go/securitycenter/apiv1 for the latest API version.
affects: <1.0.0
Upgrade
Version history
1.44.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
go-securitycenter — go get go-securitycenter · libregistry