azuread

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0, Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColumnDescriptionTenant = "The Azure Tenant ID where the resource is located."
	ColumnDescriptionTags   = "A map of tags for the resource."
	ColumnDescriptionTitle  = "Title of the resource."
)

Constants for Standard Column Descriptions

Variables

View Source
var ConfigSchema = map[string]*schema.Attribute{
	"tenant_id": {
		Type: schema.TypeString,
	},
	"client_id": {
		Type: schema.TypeString,
	},
	"client_secret": {
		Type: schema.TypeString,
	},
	"certificate_path": {
		Type: schema.TypeString,
	},
	"certificate_password": {
		Type: schema.TypeString,
	},
	"environment": {
		Type: schema.TypeString,
	},
	"enable_msi": {
		Type: schema.TypeBool,
	},
	"msi_endpoint": {
		Type: schema.TypeString,
	},
}

Functions

func ConfigInstance

func ConfigInstance() interface{}

func GetConfig

func GetConfig(connection *plugin.Connection) azureADConfig

GetConfig :: retrieve and cast connection config from query data

func GetGraphClient

GetGraphClient creates a graph service client configured from (~/.steampipe/config, environment variables and CLI) in the order: 1. Client secret 2. Client certificate 3. MSI 4. CLI

func Int32

func Int32(v int32) *int32

Int32 returns a pointer to the int32 value passed in.

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Plugin creates this (azuread) plugin

func TagsToMap

func TagsToMap(tags []string) (*map[string]bool, error)

Types

type ADAdminConsentRequestPolicyInfo

type ADAdminConsentRequestPolicyInfo struct {
	models.AdminConsentRequestPolicyable
}

func (*ADAdminConsentRequestPolicyInfo) AdminConsentRequestPolicyReviewers

func (adminConsentRequestPolicy *ADAdminConsentRequestPolicyInfo) AdminConsentRequestPolicyReviewers() []map[string]interface{}

type ADApplicationInfo

type ADApplicationInfo struct {
	models.Applicationable
	IsAuthorizationServiceEnabled interface{}
}

func (*ADApplicationInfo) ApplicationAPI

func (application *ADApplicationInfo) ApplicationAPI() map[string]interface{}

func (*ADApplicationInfo) ApplicationInfo

func (application *ADApplicationInfo) ApplicationInfo() map[string]interface{}

func (*ADApplicationInfo) ApplicationKeyCredentials

func (application *ADApplicationInfo) ApplicationKeyCredentials() []map[string]interface{}

func (*ADApplicationInfo) ApplicationParentalControlSettings

func (application *ADApplicationInfo) ApplicationParentalControlSettings() map[string]interface{}

func (*ADApplicationInfo) ApplicationPasswordCredentials

func (application *ADApplicationInfo) ApplicationPasswordCredentials() []map[string]interface{}

func (*ADApplicationInfo) ApplicationSpa

func (application *ADApplicationInfo) ApplicationSpa() map[string]interface{}

func (*ADApplicationInfo) ApplicationWeb

func (application *ADApplicationInfo) ApplicationWeb() map[string]interface{}

type ADAuthorizationPolicyInfo

type ADAuthorizationPolicyInfo struct {
	models.AuthorizationPolicyable
}

func (*ADAuthorizationPolicyInfo) AuthorizationPolicyAllowInvitesFrom

func (authorizationPolicy *ADAuthorizationPolicyInfo) AuthorizationPolicyAllowInvitesFrom() string

func (*ADAuthorizationPolicyInfo) AuthorizationPolicyDefaultUserRolePermissions

func (authorizationPolicy *ADAuthorizationPolicyInfo) AuthorizationPolicyDefaultUserRolePermissions() map[string]interface{}

type ADConditionalAccessPolicyInfo

type ADConditionalAccessPolicyInfo struct {
	models.ConditionalAccessPolicyable
}

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsApplications

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsApplications() map[string]interface{}

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsClientAppTypes

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsClientAppTypes() []models.ConditionalAccessClientApp

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsLocations

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsLocations() map[string]interface{}

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsPlatforms

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsPlatforms() map[string]interface{}

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsSignInRiskLevels

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsSignInRiskLevels() []models.RiskLevel

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsUserRiskLevels

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsUserRiskLevels() []models.RiskLevel

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsUsers

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicyConditionsUsers() map[string]interface{}

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicyGrantControlsBuiltInControls

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicyGrantControlsBuiltInControls() []models.ConditionalAccessGrantControl

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicyGrantControlsCustomAuthenticationFactors

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicyGrantControlsCustomAuthenticationFactors() []string

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicyGrantControlsOperator

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicyGrantControlsOperator() *string

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicyGrantControlsTermsOfUse

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicyGrantControlsTermsOfUse() []string

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicySessionControlsApplicationEnforcedRestrictions

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicySessionControlsApplicationEnforcedRestrictions() map[string]interface{}

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicySessionControlsCloudAppSecurity

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicySessionControlsCloudAppSecurity() map[string]interface{}

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicySessionControlsPersistentBrowser

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicySessionControlsPersistentBrowser() map[string]interface{}

func (*ADConditionalAccessPolicyInfo) ConditionalAccessPolicySessionControlsSignInFrequency

func (conditionalAccessPolicy *ADConditionalAccessPolicyInfo) ConditionalAccessPolicySessionControlsSignInFrequency() map[string]interface{}

type ADDeviceInfo

type ADDeviceInfo struct {
	models.Deviceable
}

func (*ADDeviceInfo) DeviceMemberOf

func (device *ADDeviceInfo) DeviceMemberOf() []map[string]interface{}

type ADDirectoryAuditReportInfo

type ADDirectoryAuditReportInfo struct {
	models.DirectoryAuditable
}

func (*ADDirectoryAuditReportInfo) DirectoryAuditAdditionalDetails

func (directoryAuditReport *ADDirectoryAuditReportInfo) DirectoryAuditAdditionalDetails() []map[string]interface{}

func (*ADDirectoryAuditReportInfo) DirectoryAuditInitiatedBy

func (directoryAuditReport *ADDirectoryAuditReportInfo) DirectoryAuditInitiatedBy() map[string]interface{}

func (*ADDirectoryAuditReportInfo) DirectoryAuditResult

func (directoryAuditReport *ADDirectoryAuditReportInfo) DirectoryAuditResult() string

func (*ADDirectoryAuditReportInfo) DirectoryAuditTargetResources

func (directoryAuditReport *ADDirectoryAuditReportInfo) DirectoryAuditTargetResources() []map[string]interface{}

type ADDirectorySettingInfo

type ADDirectorySettingInfo struct {
	// models.GroupSettingable
	DisplayName *string
	Id          *string
	TemplateId  *string
	Name        *string
	Value       *string
}

type ADGroupInfo

type ADGroupInfo struct {
	models.Groupable
	ResourceBehaviorOptions     []string
	ResourceProvisioningOptions []string
}

func (*ADGroupInfo) GroupAssignedLabels

func (group *ADGroupInfo) GroupAssignedLabels() []map[string]*string

type ADIdentityProviderInfo

type ADIdentityProviderInfo struct {
	models.BuiltInIdentityProvider
	ClientId     interface{}
	ClientSecret interface{}
}

type ADSecurityDefaultsPolicyInfo

type ADSecurityDefaultsPolicyInfo struct {
	models.IdentitySecurityDefaultsEnforcementPolicyable
}

type ADServicePrincipalInfo

type ADServicePrincipalInfo struct {
	models.ServicePrincipalable
}

func (*ADServicePrincipalInfo) ServicePrincipalAddIns

func (servicePrincipal *ADServicePrincipalInfo) ServicePrincipalAddIns() []map[string]interface{}

func (*ADServicePrincipalInfo) ServicePrincipalAppRoles

func (servicePrincipal *ADServicePrincipalInfo) ServicePrincipalAppRoles() []map[string]interface{}

func (*ADServicePrincipalInfo) ServicePrincipalInfo

func (servicePrincipal *ADServicePrincipalInfo) ServicePrincipalInfo() map[string]interface{}

func (*ADServicePrincipalInfo) ServicePrincipalKeyCredentials

func (servicePrincipal *ADServicePrincipalInfo) ServicePrincipalKeyCredentials() []map[string]interface{}

func (*ADServicePrincipalInfo) ServicePrincipalOauth2PermissionScopes

func (servicePrincipal *ADServicePrincipalInfo) ServicePrincipalOauth2PermissionScopes() []map[string]interface{}

func (*ADServicePrincipalInfo) ServicePrincipalPasswordCredentials

func (servicePrincipal *ADServicePrincipalInfo) ServicePrincipalPasswordCredentials() []map[string]interface{}

type ADSignInReportInfo

type ADSignInReportInfo struct {
	models.SignInable
}

func (*ADSignInReportInfo) SignInAppliedConditionalAccessPolicies

func (signIn *ADSignInReportInfo) SignInAppliedConditionalAccessPolicies() []map[string]interface{}

func (*ADSignInReportInfo) SignInDeviceDetail

func (signIn *ADSignInReportInfo) SignInDeviceDetail() map[string]interface{}

func (*ADSignInReportInfo) SignInLocation

func (signIn *ADSignInReportInfo) SignInLocation() map[string]interface{}

func (*ADSignInReportInfo) SignInStatus

func (signIn *ADSignInReportInfo) SignInStatus() map[string]interface{}

type ADUserInfo

type ADUserInfo struct {
	models.Userable
	RefreshTokensValidFromDateTime interface{}
}

func (*ADUserInfo) UserMemberOf

func (user *ADUserInfo) UserMemberOf() []map[string]interface{}

func (*ADUserInfo) UserPasswordProfile

func (user *ADUserInfo) UserPasswordProfile() map[string]interface{}

type QualsColumn

type QualsColumn struct {
	ColumnName string
	ColumnType string
	FilterName string
}

type RequestError

type RequestError struct {
	Code    string
	Message string
}

func (*RequestError) Error

func (m *RequestError) Error() string

Jump to

Keyboard shortcuts

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