GovernanceRuleProperties interface

Describes properties of an governance rule

Properties

conditionSets

The governance rule conditionSets - see examples

description

Description of the governance rule

displayName

Display name of the governance rule

excludedScopes

Excluded scopes, filter out the descendants of the scope (on management scopes)

governanceEmailNotification

The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners

includeMemberScopes

Defines whether the rule is management scope rule (master connector as a single scope or management scope)

isDisabled

Defines whether the rule is active/inactive

isGracePeriod

Defines whether there is a grace period on the governance rule

metadata

The governance rule metadata

ownerSource

The owner source for the governance rule - e.g. Manually by user@contoso.com - see example

remediationTimeframe

Governance rule remediation timeframe - this is the time that will affect on the grace-period duration e.g. 7.00:00:00 - means 7 days

rulePriority

The governance rule priority, priority to the lower number. Rules with the same priority on the same scope will not be allowed

ruleType

The rule type of the governance rule, defines the source of the rule e.g. Integrated

sourceResourceType

The governance rule source, what the rule affects, e.g. Assessments

tenantId

The tenantId (GUID)

Property Details

conditionSets

The governance rule conditionSets - see examples

conditionSets: any[]

Property Value

any[]

description

Description of the governance rule

description?: string

Property Value

string

displayName

Display name of the governance rule

displayName: string

Property Value

string

excludedScopes

Excluded scopes, filter out the descendants of the scope (on management scopes)

excludedScopes?: string[]

Property Value

string[]

governanceEmailNotification

The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners

governanceEmailNotification?: GovernanceRuleEmailNotification

Property Value

includeMemberScopes

Defines whether the rule is management scope rule (master connector as a single scope or management scope)

includeMemberScopes?: boolean

Property Value

boolean

isDisabled

Defines whether the rule is active/inactive

isDisabled?: boolean

Property Value

boolean

isGracePeriod

Defines whether there is a grace period on the governance rule

isGracePeriod?: boolean

Property Value

boolean

metadata

The governance rule metadata

metadata?: GovernanceRuleMetadata

Property Value

ownerSource

The owner source for the governance rule - e.g. Manually by user@contoso.com - see example

ownerSource: GovernanceRuleOwnerSource

Property Value

remediationTimeframe

Governance rule remediation timeframe - this is the time that will affect on the grace-period duration e.g. 7.00:00:00 - means 7 days

remediationTimeframe?: string

Property Value

string

rulePriority

The governance rule priority, priority to the lower number. Rules with the same priority on the same scope will not be allowed

rulePriority: number

Property Value

number

ruleType

The rule type of the governance rule, defines the source of the rule e.g. Integrated

ruleType: string

Property Value

string

sourceResourceType

The governance rule source, what the rule affects, e.g. Assessments

sourceResourceType: string

Property Value

string

tenantId

The tenantId (GUID)

tenantId?: string

Property Value

string