Skip to content

thathaneydude/prisma-cloud-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prisma Cloud SDK

prisma-cloud-sdk is the unofficial Prisma Cloud SDK for the Go programming language.

Installation

Use go get to retrieve the SDK and addit to your GOPATH workspace, or project's Go module dependencies.

$ go get -u https://github.com/thathaneydude/prisma-cloud-sdk

Dependencies

Create a Prisma Cloud Client

// Your CWPP console will be automatically determined
prisma_client, err := prisma.NewPrismaCloudClient((&prisma.Options{
    ApiUrl:    "api.prismacloud.io", // API URL to connect to. More info here: https://prisma.pan.dev/api/cloud/api-urls
    Username:  "API-KEY-ID",         // https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin/manage-prisma-cloud-administrators/create-access-keys
    Password:  "API-SECRET",
    SslVerify: false,
})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published