Active Directory: Domain
Summary
This module contains actions related to Active Directory domain configuration & policies.
Actions
active_directory.domain.
domain_components
Use this action to get the distinguished name of the domain itself.
Minimum Plugin Version: 12.4.0
Input
- domain: a fully qualified Active Directory domain.
Output
The distinguished name of the domain.
Example
The snippet below would generate the following output:
DC=example,DC=domain,DC=net
1 2 3 |
|
active_directory.domain.
lockout_duration
Get the Account Lockout Duration policy setting from the domain.
Minimum Plugin Version: 6.3.0
Input
- domain_controller: a DomainController dictionary
Output
A single TimePeriod.
Example
1 2 3 4 5 6 7 |
|
active_directory.domain.
lockout_threshold
Get the Account Lockout Threshold policy setting from the domain.
Minimum Plugin Version: 6.3.0
Input
- domain_controller: a DomainController dictionary
Output
The account lockout threshold as a number.
Example
1 2 3 4 5 6 7 |
|
active_directory.domain.
maximum_password_age
Get the Maximum Password Age policy setting from the domain.
Minimum Plugin Version: 6.3.0
Input
- domain_controller: a DomainController dictionary
Output
A single TimePeriod.
Example
1 2 3 4 5 6 7 |
|
active_directory.domain.
minimum_password_age
Get the Minimum Password Age policy setting from the domain.
Minimum Plugin Version: 6.3.0
Input
- domain_controller: a DomainController dictionary
Output
A single TimePeriod.
Example
1 2 3 4 5 6 7 |
|
active_directory.domain.
minimum_password_length
Get the Minimum Password Length policy setting from the domain.
Minimum Plugin Version: 6.3.0
Input
- domain_controller: a DomainController dictionary
Output
The minimum password length as a number.
Example
1 2 3 4 5 6 7 |
|
active_directory.domain.
password_history_length
Get the Enforce Password History policy setting from the domain.
Minimum Plugin Version: 6.3.0
Input
- domain_controller: a DomainController dictionary
Output
The password history length as a number.
Example
1 2 3 4 5 6 7 |
|