package main
import (
"fmt"
j1 "github.com/jupiterone/jupiterone-client-go/jupiterone"
)
func main() {
var entityProps j1.EntityProperties
// Set configuration
config := j1.Config{
APIKey: "api_key",
AccountID: "accountid",
Region: "dev",
}
entityProps.Key = "go-client-key"
entityProps.Type = "go_client_type"
entityProps.Class = "Record"
//Initialize client
client, err := j1.NewClient(&config)
if err != nil {
fmt.Println("failed to create JupiterOne client: %s", err.Error())
}
//Do stuffs
// fmt.Print(client)
fmt.Print(client.Entity.Create(entityProps))
}
-
Notifications
You must be signed in to change notification settings - Fork 3
License
JupiterOne/jupiterone-client-go
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published