usp_entraid

package
v1.24.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var URL = map[string]string{
	"get_alerts": "https://graph.microsoft.com/v1.0/identityProtection/riskDetections",
}

Functions

This section is empty.

Types

type EntraIDAdapter

type EntraIDAdapter struct {
	// contains filtered or unexported fields
}

func NewEntraIDAdapter

func NewEntraIDAdapter(conf EntraIDConfig) (*EntraIDAdapter, chan struct{}, error)

func (*EntraIDAdapter) Close

func (a *EntraIDAdapter) Close() error

type EntraIDConfig

type EntraIDConfig struct {
	ClientOptions uspclient.ClientOptions `json:"client_options" yaml:"client_options"`
	TenantID      string                  `json:"tenant_id" yaml:"tenant_id"`
	ClientID      string                  `json:"client_id" yaml:"client_id"`
	ClientSecret  string                  `json:"client_secret" yaml:"client_secret"`
}

func (*EntraIDConfig) Validate

func (c *EntraIDConfig) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL