Domain Detective

API Reference

Class

DesiredStateConfiguration

Namespace DomainDetective.DesiredState
Assembly DomainDetective
Modifiers sealed

Represents an organization-specific desired state baseline for DomainDetective checks.

Inheritance

  • Object
  • DesiredStateConfiguration

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

Methods

GetChecksToRun 2 overloads
public HealthCheckType[] GetChecksToRun(DesiredStateProfile profile, DesiredStateMode mode) #
Returns: HealthCheckType[]

Gets checks to run.

Parameters

profile DomainDetective.DesiredState.DesiredStateProfile requiredposition: 0
mode DomainDetective.DesiredState.DesiredStateMode requiredposition: 1
public static HealthCheckType[] GetChecksToRun(DesiredStateProfile profile, DesiredStateMode mode, DesiredStateBestPracticeSettings bestPractices = null) #
Returns: HealthCheckType[]

Gets checks to run.

Parameters

profile DomainDetective.DesiredState.DesiredStateProfile requiredposition: 0
mode DomainDetective.DesiredState.DesiredStateMode requiredposition: 1
bestPractices DomainDetective.DesiredState.DesiredStateBestPracticeSettings = null optionalposition: 2
public static HealthCheckType[] GetRequiredChecks(DesiredStateProfile profile) #
Returns: HealthCheckType[]

Gets required checks.

Parameters

profile DomainDetective.DesiredState.DesiredStateProfile requiredposition: 0
public static DesiredStateConfiguration Load(String path) #
Returns: DesiredStateConfiguration

Executes the load operation.

Parameters

path System.String requiredposition: 0
public Boolean RequiresMailClassification() #
Returns: Boolean

Executes the requires mail classification operation.

public DesiredStateProfile ResolveProfile(String domain, Nullable<MailDomainClassificationCategory> classification = null) #
Returns: DesiredStateProfile

Executes the resolve profile operation.

Parameters

domain System.String requiredposition: 0
classification System.Nullable{DomainDetective.Definitions.MailDomainClassificationCategory} = null optionalposition: 1

Properties

public HealthCheckType[] Checks { get; set; } #
JsonIgnore

Represents the checks value.

public DesiredStateAssessmentPolicy AssessmentPolicy { get; set; } #
JsonIgnore

Represents the assessment policy value.

public DesiredStateDmarcPolicy Dmarc { get; set; } #
JsonIgnore

Represents the dmarc value.

public DesiredStateSpfPolicy Spf { get; set; } #
JsonIgnore

Represents the spf value.

public DesiredStateDkimPolicy Dkim { get; set; } #
JsonIgnore

Represents the dkim value.

public DesiredStateMtastsPolicy Mtasts { get; set; } #
JsonIgnore

Represents the mtasts value.

public DesiredStateTlsRptPolicy TlsRpt { get; set; } #
JsonIgnore

Represents the tls rpt value.

public DesiredStateBimiPolicy Bimi { get; set; } #
JsonIgnore

Represents the bimi value.

public DesiredStateMxPolicy Mx { get; set; } #
JsonIgnore

Represents the mx value.

public DesiredStateStartTlsPolicy StartTls { get; set; } #
JsonIgnore

Represents the start tls value.

public DesiredStateMailTlsPolicy SmtpTls { get; set; } #
JsonIgnore

Represents the smtp tls value.

public DesiredStateMailTlsPolicy ImapTls { get; set; } #
JsonIgnore

Represents the imap tls value.

public DesiredStateMailTlsPolicy Pop3Tls { get; set; } #
JsonIgnore

Represents the pop3 tls value.

public DesiredStateSmtpBannerPolicy SmtpBanner { get; set; } #
JsonIgnore

Represents the smtp banner value.

public DesiredStateSmtpAuthPolicy SmtpAuth { get; set; } #
JsonIgnore

Represents the smtp auth value.

public DesiredStateOpenRelayPolicy OpenRelay { get; set; } #
JsonIgnore

Represents the open relay value.

public DesiredStateOpenResolverPolicy OpenResolver { get; set; } #
JsonIgnore

Represents the open resolver value.

public DesiredStateMailLatencyPolicy MailLatency { get; set; } #
JsonIgnore

Represents the mail latency value.

public DesiredStateReverseDnsPolicy ReverseDns { get; set; } #
JsonIgnore

Represents the reverse dns value.

public DesiredStateFcrDnsPolicy FcrDns { get; set; } #
JsonIgnore

Represents the fcr dns value.

public DesiredStateNsPolicy Ns { get; set; } #
JsonIgnore

Represents the ns value.

public DesiredStateDanglingCnamePolicy DanglingCname { get; set; } #
JsonIgnore

Represents the dangling cname value.

public DesiredStateCaaPolicy Caa { get; set; } #
JsonIgnore

Represents the caa value.

public DesiredStateDnssecPolicy DnsSec { get; set; } #
JsonIgnore

Represents the dns sec value.

public DesiredStateSoaPolicy Soa { get; set; } #
JsonIgnore

Represents the soa value.

public DesiredStateDanePolicy Dane { get; set; } #
JsonIgnore

Represents the dane value.

public DesiredStateDnsblPolicy Dnsbl { get; set; } #
JsonIgnore

Represents the dnsbl value.

public DesiredStateDnsHealthPolicy DnsHealth { get; set; } #
JsonIgnore

Represents the dns health value.

public DesiredStateApexAddressPolicy ApexAddress { get; set; } #
JsonIgnore

Represents the apex address value.

public DesiredStateRpkiPolicy Rpki { get; set; } #
JsonIgnore

Represents the rpki value.

public DesiredStateEdnsSupportPolicy EdnsSupport { get; set; } #
JsonIgnore

Represents the edns support value.

public DesiredStateDnsOverTlsPolicy DnsOverTls { get; set; } #
JsonIgnore

Represents the dns over tls value.

public DesiredStateFlatteningServicePolicy FlatteningService { get; set; } #
JsonIgnore

Represents the flattening service value.

public DesiredStateDelegationPolicy Delegation { get; set; } #
JsonIgnore

Represents the delegation value.

public DesiredStateZoneTransferPolicy ZoneTransfer { get; set; } #
JsonIgnore

Represents the zone transfer value.

public DesiredStateWildcardDnsPolicy WildcardDns { get; set; } #
JsonIgnore

Represents the wildcard dns value.

public DesiredStateTtlPolicy Ttl { get; set; } #
JsonIgnore

Represents the ttl value.

public DesiredStateAutodiscoverPolicy Autodiscover { get; set; } #
JsonIgnore

Represents the autodiscover value.

public DesiredStateSecurityTxtPolicy SecurityTxt { get; set; } #
JsonIgnore

Represents the security txt value.

public DesiredStateRobotsPolicy Robots { get; set; } #
JsonIgnore

Represents the robots value.

public DesiredStateAgentReadinessPolicy AgentReadiness { get; set; } #
JsonIgnore

Represents the agent readiness value.

public DesiredStateCertificateInventoryPolicy CertificateInventory { get; set; } #
JsonIgnore

Represents the certificate inventory value.

public String Schema { get; set; } #
JsonPropertyName("$schema")

Gets or sets the schema value.

public Int32 Version { get; set; } #
JsonPropertyName("version")

Gets or sets the version value.

public DesiredStateMode Mode { get; set; } #
JsonPropertyName("mode")

Gets or sets the mode value.

public DesiredStateBestPracticeSettings BestPractices { get; set; } #
JsonPropertyName("bestPractices")

Gets or sets the best practices value.

public DesiredStateProfile Defaults { get; set; } #
JsonPropertyName("defaults")

Gets or sets the defaults value.

public List<DesiredStateOverride> Overrides { get; set; } #
JsonPropertyName("overrides")

Gets or sets the overrides value.

Fields

public const Int32 SupportedVersion #

Represents the supported version value.

Value: 1
{{ include "footer" }}